User directory for .nss settings overrides instead of Program Files #449
Replies: 3 comments 1 reply
-
|
I will share my opinion and some workarounds to deal with the situation:
import 'C:\Nilesoft Shell\shell.nss'
item(title='Visual Studio Code' image=[\uE272, #22A7F2] cmd='code' args='"@app.directory"' window=hidden)
|
Beta Was this translation helpful? Give feedback.
-
|
I am someone who implements strict privilege separation on all my systems. The settings for the shell being in program files does create an extra chore to do customization. I would like to see a setup in which the bare bones defaults can be read out of PF, and that is the skeleton for per user settings in the user's app data folder. There is of course the issue of a multi user system in which you'd want an admin managed central settings; off the top of my head I feel this would be a limited use case. |
Beta Was this translation helpful? Give feedback.
-
|
I didn't realize that NS was designed as a portable program until recently. By default, all files are launched from (or located in) a single folder. The concept of installation came later, which is why you'll find shell.nss in the Program Files - it's a result of that evolution. There is a registry setting (undocumented) that changes the path to shell.nss. [HKEY_CURRENT_USER\Software\Nilesoft\Shell]
"config"="C:\\Shell\\shell.nss"For multi-user modes - this can be configured in shell.nss (I haven't done it yet) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The only way I've been able make changes to NSS's configuration has been to modify files in the main app directory.
I'm sure there are technical factors I haven't considered, but in my opinion, rather than modifying files in Program Files, it would be much better for settings customizations to live in a user-level folder as overrides to defaults defined in Program Files. This would have a few advantages:
Do you think this idea is viable? Why or why not? What factors might I be overlooking?
Thank you for your work on this app, @moudey!
Beta Was this translation helpful? Give feedback.
All reactions