Skip to content

Commit 83dc909

Browse files
CopilotBornToBeRoot
andcommitted
Add documentation for system-wide config feature
Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com>
1 parent a8853bc commit 83dc909

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

Documentation/config/README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# System-Wide Configuration
2+
3+
This directory contains an example `config.json` file that can be placed in the application installation directory to override user settings for all users on a machine.
4+
5+
## Usage
6+
7+
1. Copy `config.json.example` to the NETworkManager installation directory (where `NETworkManager.exe` is located)
8+
2. Rename it to `config.json`
9+
3. Edit the settings as needed
10+
4. Restart NETworkManager
11+
12+
## Configuration Options
13+
14+
### Update_DisableUpdateCheck
15+
16+
When set to `true`, disables the automatic update check at startup for all users.
17+
18+
**Example:**
19+
```json
20+
{
21+
"Update_DisableUpdateCheck": true
22+
}
23+
```
24+
25+
This is useful for enterprise deployments where you want to:
26+
- Control software updates centrally
27+
- Prevent users from being prompted about updates
28+
- Disable update checks on multiple machines without user intervention
29+
30+
## File Location
31+
32+
The `config.json` file should be placed in:
33+
- **Installed version**: `C:\Program Files\NETworkManager\` (or your custom installation path)
34+
- **Portable version**: Same directory as `NETworkManager.exe`
35+
36+
## Notes
37+
38+
- System-wide configuration takes precedence over user settings
39+
- If the file doesn't exist or contains invalid JSON, it will be ignored and default user settings will apply
40+
- Changes to `config.json` require restarting the application to take effect
41+
- The file is optional - if not present, user settings will be used as normal
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"Update_DisableUpdateCheck": true
3+
}

0 commit comments

Comments
 (0)