-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Issue by bchintx
Friday Sep 20, 2013 at 22:37 GMT
Originally opened as adobe#333
Allows Brackets to be run (eg. from removable media, such as a thumb drive) on any Mac or Windows computer without having to first be installed on that computer. Implements "Portable build" user story.
To set up a portable build onto a removable media storage device, follow these steps:
- first install Brackets onto a Mac or Windows machine
- copy the installed binaries to a new folder on your removable media. For Mac, copy "/Applications/Brackets Sprint XX.app". For Windows, copy the folder "\Program Files (x86)\Brackets Sprint XX".
- in the removable media folder, next to either the .app or .exe file, create a new, empty file, named 'makePortable'
That's it! You can now run Brackets from that removable media on any other Mac or Windows machine.
Note: you can copy both a Mac and Windows portable build onto the same removable media. However, please be sure to create two different folders into which you copy each platform's build.
When launched, Brackets will check for the existence of the 'makePortable' file, alongside either the .app or .exe. If it exists, then the following will occur during program execution:
- preferences will be read from and saved in the 'Brackets' folder on the removable media;
- extensions will be installed in and run from the 'Brackets\extensions' folder on the removable media; and
- (on Windows) window state and size will be saved in 'Brackets\lastWindowState.dat' on the removable media.
bchintx included the following code: https://github.com/adobe/brackets-shell/pull/333/commits