Portable SettingsDirectory
Where is the Settings Directory specified now?
I found a thread from 2013 about it, but the config file no longer exists... https://www.portablefreeware.com/forums/viewtopic.php?p=65016&sid=1d6b3323857d83d4092b85bb81b254d6#p65016
I removed the SettingsDirectory app config override in the Great .NET 5 Migration because the old config file format no longer worked, and I wasn't sure anyone was using the feature. Where do you want to keep the config?
In the same folder as the program... it's how portable apps are done.
The portable version checks in this order:
- If a
VidCoder.sqlitefile exists in the same folder as the portable executable, use it. - If
%appdata%\VidCoder\VidCoder.sqliteexists, use it. - Otherwise, create
VidCoder.sqlitebeside the portable executable.
So you should be able to move, rename or delete %appdata%\VidCoder\VidCoder.sqlite and it will behave the way you want. (That is, if VidCoder has write permissions to that folder)
It is better to be in the same directory as the program and easy to find and manage.