Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portable Mode #12

Open
smaragdus opened this issue Feb 6, 2022 · 0 comments
Open

Portable Mode #12

smaragdus opened this issue Feb 6, 2022 · 0 comments

Comments

@smaragdus
Copy link

@zhongyang219

I discovered that SimpleNotePad was available in English (since version 1.42), thanks.

I did a brief testing and found out that the program saves settings to Windows registry:

HKEY_CURRENT_USER\Software\Apps By ZhongYang\SimpleNotePad

I would like to ask- is there a way to run SimpleNotePad in portable mode, I mean settings saved in configuration file inside program folder (next to the executable- SimpleNotePad.exe) in stead in Windows registry?

If portable mode is currently not supported (as of version 1.43) I would like to suggest an option to use SimpleNotePad in portable mode, I will suggest several common methods for triggering portable mode, examples:

  • Configuration file in program folder triggers portable mode- when SimpleNotePad starts it checks its program folder whether it contains configuration file (for example- config.ini) and if it exists the settings are saved in the configuration file inside program folder, not in Windows registry;
  • Special file in program folder triggers portable mode- when SimpleNotePad starts it checks its program folder whether it contains special file (for example- portable.txt) and if it exists the settings are saved in configuration file inside program folder, not in Windows registry;
  • Command-line argument- if SimpleNotePad is started with a special parameter, for example SimpleNotePad --portable the settings are saved in configuration file inside program folder, not in Windows registry;

Any of these options would be fine for me yet I prefer the first and the second because they are simpler to use.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant