microsoft / pxt-ev3

Microsoft MakeCode editor for the LEGO MINDSTORMS EV3 Brick
https://makecode.mindstorms.com/
Other
55 stars 39 forks source link

Folder for saving the project in EV3 #997

Open THEb0nny opened 3 years ago

THEb0nny commented 3 years ago

Hi, can we make makecode save our project to a specific folder (create if needed)? Now saving is going to BrkProg_SAVE.

https://github.com/microsoft/pxt-ev3/blob/bd0cf0569337f176f987e6d7bb9ab1ca38fe9d72/editor/deploy.ts#L226

THEb0nny commented 3 years ago

I suggest making a field for entering the folder name. This value is substituted into fspath. Otherwise, if the value in the field is empty, then it is standard in "../prjs/BrkProg_SAVE/".

@abchatra @pelikhan

THEb0nny commented 3 years ago

I tried to change it in fspath, but it was saved anyway in BrkProg_SAVE. Where to dig?