refactor: move source into src/

src/netswitch.ps1 (single file, ~150 lines). CI updated to build from this
path. Added CONTRIBUTING.md describing layout, build, and release flow.

No user-visible behaviour change.
This commit is contained in:
2026-05-16 12:28:10 +03:00
parent a854d8e3f7
commit 789c7b3750
3 changed files with 63 additions and 1 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
run: |
Import-Module ps2exe
$ver = '${{ steps.ver.outputs.version }}'
Invoke-ps2exe -inputFile netswitch.ps1 -outputFile netswitch.exe `
Invoke-ps2exe -inputFile src/netswitch.ps1 -outputFile netswitch.exe `
-title "netswitch" -description "NIC IP/DHCP toggle - made by engelgardt" `
-company "engelgardt" -version "$ver.0" `
-requireAdmin