Skip to content

Implement Brackets Portable Build on Mac and Windows #446

@core-ai-bot

Description

@core-ai-bot

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:

  1. first install Brackets onto a Mac or Windows machine
  2. 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".
  3. 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:

  1. preferences will be read from and saved in the 'Brackets' folder on the removable media;
  2. extensions will be installed in and run from the 'Brackets\extensions' folder on the removable media; and
  3. (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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions