v1.2.0: rewrite in Python (mirrors dhcpsrv); clickable update link

This commit is contained in:
2026-05-18 12:36:42 +03:00
parent 74549db869
commit e4d62d1b94
16 changed files with 582 additions and 290 deletions
+2 -4
View File
@@ -38,11 +38,9 @@ On every launch the tool calls GitHub's `/releases/latest` (3-second timeout). I
## Build from source
The script is a single `netswitch.ps1`. To rebuild the bundled `.exe`:
```
Install-Module ps2exe -Scope CurrentUser
Invoke-ps2exe -inputFile netswitch.ps1 -outputFile netswitch.exe -requireAdmin -title "netswitch" -version 1.0.0.0
python -m pip install rich pyinstaller
python -m PyInstaller --onefile --uac-admin --console --name netswitch --icon assets/icon.ico --paths src netswitch-launcher.py
```
## License