LiteIDE isn't perfectly portable, because it created a LiteIDE folder inside my user's AppData\Local folder, containing a "Hello World" go program - could it be changed to keep all this on the portable drive?
Edit: nvm
liteide - option - liteapp - Store settings to local ini file
liteide x31 add new command line: liteide --local-setting
Brilliant, thanks!
It doesn't look like the GoPlay files are portable. Even if you are using local storage, it stays in the AppData folder in Windows.
The goplay path is retrieved from here:
https://github.com/visualfc/liteide/blob/eddb51b5fd2c43836003ca52ab8db9ae4e588b78/liteidex/src/plugins/golangplay/goplaybrowser.cpp#L63
storagePath() is retrieved from here:
https://github.com/visualfc/liteide/blob/7bfa0821eb02e0b1e8219dcb5fc735fb5e823770/liteidex/src/liteapp/liteapp.cpp#L120
QStandardPaths::DataLocation points to AppData.
@steronydh Can you reopen this ticket please?
As a temporary solution: there is a way to make it 100% Portable using yaP but it requires admin privileges due to required NTFS permissions to create symlinks. Although that can be altered too
Using a configuration like this:
; App\ and Data\ folders in Root
; App\ folder contains LiteIDE files
; Data\ folder contains "Roaming" and "Local" folders
; Root folder has LiteIDEPortable.exe & LiteIDEPortable.ini
[GENERAL]
application = App\bin\liteide.exe
[BEFORE]
symlink = %LocalAppData%\LiteIDE\ :: Data\Local\
symlink = %AppData%\LiteIDE\ :: Data\Roaming\
It's similar to how PortableApps programs work.
@josephspurrier As requested.
fixit liteapp start not create storage, only open goplay windows create
@visualfc I'm sorry, I don't understand the question.
Most helpful comment
liteide - option - liteapp - Store settings to local ini file
liteide x31 add new command line: liteide --local-setting