Hello sfonteneau,
after multiple tests and attempts, we still haven't managed to access the appdata of the user who downloads the package; in short, the initial objective hasn't been achieved.
Nevertheless, the proposed mechanism implemented via session_setup() works, and therefore...
The search returned 5 results
- January 9, 2018 - 4:11 PM
- Forum: WAPT Packages
- Subject: [SOLVED] Mblock Setup.py
- Answers: 17
- Views : 15583
- December 31, 2017 - 4:06 PM
- Forum: WAPT Packages
- Subject: [SOLVED] Mblock Setup.py
- Answers: 17
- Views : 15583
Re: Mblock Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
# Importing customization files
copytree2(r'Perso',r'C:\ProgramData\mBlock') # Importing the folder provided in the package
filecopyto(r'Copy.cmd',r'C:\ProgramData\mBlock') # Importing a folder also provided with the package
key = "{1E9DFEBB ...
from setuphelpers import *
# Importing customization files
copytree2(r'Perso',r'C:\ProgramData\mBlock') # Importing the folder provided in the package
filecopyto(r'Copy.cmd',r'C:\ProgramData\mBlock') # Importing a folder also provided with the package
key = "{1E9DFEBB ...
- December 29, 2017 - 6:12 PM
- Forum: WAPT Packages
- Subject: [SOLVED] Mblock Setup.py
- Answers: 17
- Views : 15583
Re: Mblock Setup.py
I'll try to copy my code for you as soon as possible. Thank you so much for your help.
I did try using copytree2. It works on a path that isn't relative to the user (I'm making it a prerequisite since a session setup() doesn't allow accessing a file or folder that's provided in the configuration...).
I did try using copytree2. It works on a path that isn't relative to the user (I'm making it a prerequisite since a session setup() doesn't allow accessing a file or folder that's provided in the configuration...).
- December 29, 2017 - 2:34 PM
- Forum: WAPT Packages
- Subject: [SOLVED] Mblock Setup.py
- Answers: 17
- Views : 15583
Re: Mblock Setup.py
This involves copying a /com.makeblock.Scratch3.4.11/Local Store file "formatted" in French into the AppData/Roming/ directory of each user
, and also ensuring that it works for the interactive or current user as well, in French...
, and also ensuring that it works for the interactive or current user as well, in French...
- December 26, 2017 - 5:29 PM
- Forum: WAPT Packages
- Subject: [SOLVED] Mblock Setup.py
- Answers: 17
- Views : 15583
Re: Mblock Setup.py
Hello.
First of all, congratulations on all the work that's already been done!
Like gaelds, I'm also having a big problem setting the French language in mBlocks. This software definitely doesn't work in the usual way. It seems the interface language switch is done via...
First of all, congratulations on all the work that's already been done!
Like gaelds, I'm also having a big problem setting the French language in mBlocks. This software definitely doesn't work in the usual way. It seems the interface language switch is done via...
