adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

Brackets Portable. Was: How to change cache path #12835

Open ko22009 opened 8 years ago

ko22009 commented 8 years ago

C:\Documents and Settings\Application Data\Brackets\cef_data -- (aka %appdata%\Brackets\cef_data

How to change to folder brackets, I have portable on flash drive? And change User Extensions Folder.

For example, using: https://github.com/sagiegurari/brackets-portable ? Exist another opportunity?

ficristo commented 8 years ago

AFAIK your use case is still not supported. There was a card on trello: https://trello.com/c/sHyY0KlB/1003-portable-build

Maybe brackets-electron could help here, @zaggino WDYT?

ko22009 commented 8 years ago

I found some little solution, create .bat file, inside reset path: SET CURRENT_FILE_PATH=%~dp0 SET APPDATA=%CURRENT_FILE_PATH%\Brackets\User\AppData\Roaming SET USERPROFILE=%CURRENT_FILE_PATH%\Brackets\User start Brackets\Brackets.exe

But It's not correct, bcz any action, which will be address to APPDATA or USERPROFILE will be write to there, but it's not big problem. Node_nodules, for example, will be save to this folder path. Maybe collective solution. But If we click to link in this application, we will load from this place. Local User's settings won't be loaded.