cocktailpeanut / breadboard

Stable Diffusion Browser for Windows, Mac, and Linux
https://breadboard.me
376 stars 37 forks source link

Select Install Directory (Windows) #3

Open adrien-massengo opened 1 year ago

adrien-massengo commented 1 year ago

When using the windows installer, the app automatically installs into the C drive. Could we get a way to select where we would like it to install

Kryptortio commented 1 year ago

Looks like this is a supported setting that can be added to package.json easily like this

https://stackoverflow.com/questions/45661129/how-to-set-a-custom-path-for-electron-app-installer

Personally I would also add the portable/7z/zip target (switch nsis string to an array) because I'm always a bit worried about where installers are putting files etc.

https://www.electron.build/configuration/win

washinoboku commented 1 year ago

I think it's better if it behaves like a portable program, extracting itself in the same place, instead of "installing" the files somewhere on the main disk. If not, it would also be a good idea to have the option to decide where to copy the files and not in AppData.

Ratinod commented 1 year ago

Definitely need a portable version! (Truly portable, storing ALL files in a folder next to the program).