v1.4.0: Auto-update from network share

- Checks S:\DT\cameron\eDNC-Fix\version.ini every 5 minutes
- Auto-downloads new files and restarts if newer version found
- Added version.ini file
- Deploy.bat now includes version.ini

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
cproudlock
2025-12-12 08:48:17 -05:00
parent 1b57e50c2c
commit b57bb94dd5
4 changed files with 105 additions and 2 deletions

View File

@@ -61,6 +61,24 @@ Default settings (edit `eDNC-SpecialCharFix.ps1` to change):
| IncludeSubfolders | `$true` | Watch subdirectories |
| CharactersToRemove | `@(255)` | Byte values to strip (0xFF) |
## Auto-Update
The script automatically checks for updates every 5 minutes by reading:
```
S:\DT\cameron\eDNC-Fix\version.ini
```
**To deploy an update:**
1. Update `version.ini` with the new version number
2. Copy new files to `S:\DT\cameron\eDNC-Fix\`
3. Running instances will auto-update within 5 minutes
**version.ini format:**
```ini
[eDNC-Fix]
Version=1.4.0
```
## Output
The script displays real-time activity:
@@ -112,6 +130,7 @@ The script uses exponential backoff (500ms → 1s → 2s → 4s → up to 16s) f
| Version | Date | Changes |
|---------|------|---------|
| 1.4.0 | 2025-12-12 | Auto-update from S:\DT\cameron\eDNC-Fix\version.ini every 5 min |
| 1.3.1 | 2025-12-12 | Added Install-ScheduledTask.ps1 for running as SYSTEM service |
| 1.3.0 | 2025-12-12 | Fixed header UI, live status/stats, auto-elevate to Administrator |
| 1.2.1 | 2025-12-12 | Added GE Aerospace ASCII banner |