DriverStoreExplorer icon indicating copy to clipboard operation
DriverStoreExplorer copied to clipboard

[REQUEST] Full portable mode

Open AndhikaWB opened this issue 3 years ago • 2 comments

Since the log file (Rapr.log) is now stored on executable directory, can we move config file (user.config) to executable directory too?

Or maybe something cleaner like creating Data folder (on executable directory) where both log and config files are stored there. Currently it writes to %LocalAppData%\Rapr\...\user.config, you can change it so it writes there only if the executable directory is read-only.

AndhikaWB avatar Jan 06 '21 09:01 AndhikaWB

I would like to second the request. Config file should stay along EXE file. In order to distinguish specific config files (in case the same application would be run on separate machines) it might be worth including in their filenames: Windows username, Windows computer name or any other user/machine identifier. Or, as the original poster suggests, include Data folder which then would include a folder named the same way Windows USER/MACHINE is, and put config file there.

Mitch037 avatar Nov 24 '22 18:11 Mitch037

I'd say check if user.config exists in binary directory, if so does config have portable=true or something. I've also seen some programs have an empty portable.txt in the directory jfft

BiatuAutMiahn avatar Nov 25 '22 02:11 BiatuAutMiahn