I am trying to create a portable app for a Open Source code editor called brackets. So far I think I have gotten everything working except the AppData part. The code editor supports extensions so when the program is launched for the first time it creates some folders in AppData below are the folders it creates
AppData/Brackets/
All you need is a DirectoriesMove section in your launcher. See here for details.
You probably want something like
%PAL:DataDir%\Brackets=%APPDATA%\Brackets
Thanks for the reply. That worked brilliantly however when the application is closed it removes the created folder inside appdata which is brilliant but it doesn't copy any new data back into the brackets/data folder. For example i run the program installed a new extension which is now in appdata then when i close the program it deletes the appdata/brackets folder without copying the newly created folder with the extension into brackets/data.
Here is my launcher .ini file
http://pastebin.com/Fy4jfByi
This moves the directory fine however any changes made when it is in appdata is just deleted and not copied back to the data folder.
Copy The Created File First to %PAL:DataDir%\
"YourAppPortable\Data\"
What do you mean? Sorry but i don't understand what file to copy first.