brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] API to access OS preference storage location #1698

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by gruehle Tuesday Oct 02, 2012 at 06:59 GMT Originally opened as https://github.com/adobe/brackets/issues/1743


Storage locations:

Currently this location is only known to brackets-shell.

We should add new APIs such as

appshell.app.getApplicationSupportDirectory()
appshell.app.getExtensionDirectory()
appshell.app.getCefCacheDirectory()

that return the appropriate locations.

Given that extensions will eventually have to live outside of the Brackets.app folder on Mac (for convenience) and outside of Program Files on Win (for security constraints), we will likely store extensions in the application support folder. In a hosted version of brackets, this path from getExtensionDirectory() could also point to an appropriate location on the server.

core-ai-bot commented 3 years ago

Comment by gruehle Tuesday Oct 02, 2012 at 07:00 GMT


Migrated from bracket-shell, issue 57

core-ai-bot commented 3 years ago

Comment by pthiess Saturday Jan 05, 2013 at 23:07 GMT


Created Trello Card #742, closing.