tarcode-apps / BatteryMode

Windows Battery Indicator replacement
https://bmode.tarcode.ru
Other
253 stars 12 forks source link

Portable? #43

Open RedSteel-1 opened 2 years ago

RedSteel-1 commented 2 years ago

I started using this great program not long ago, using the portable version. However, I cannot understand how the program manages to save its settings - no config files have appeared near the exe file. How does the program do this?

If the settings are being saved somewhere in the registry on in AppData, then it is NOT portable, and then I would ask to make it Truly portable and make it save the settings in a file near the EXE.

artar94 commented 2 years ago

@Agych The settings are actually saved in the registry along the path HKEY_CURRENT_USER\SOFTWARE\Battery Mode\. To transfer settings you can use Settings -> File -> Export settings to file and Import settings from file. Also, you can independently implement saving settings in an INI file, I will be glad to accept PR.