| 123456789101112131415161718192021222324252627282930 |
- {
- "version": "1.1.0.2",
- "description": "Service that connects or disconnects a wireguard tunnel based on the current conditions.",
- "license": "None",
- "homepage": "https://www.kunago.com",
- "hash": "sha512:CA63EB5887233DFD932AA05F4FB5B679F13CFF55B1E7E343D39753600EA1AB7383B27BA8A448A419A9044C20F402028FCCF0E6DA88A91143F90ACC560BCFA382",
- "url": "https://git.apason.cz/kunago/scoop-bucket/raw/branch/master/programs/kunago_wireguard/kunago_wireguard-1.1.0.2.7z",
- "post_install": [
- "$task = \"Kunago wireguard autostart\"",
- "Register-ScheduledTask -Xml (Get-Content \"$dir\\data\\task.xml\" | Out-String) -TaskName \"$task\" -Force -ErrorAction SilentlyContinue > $null",
- "Start-Sleep -Seconds 2.0",
- "Start-ScheduledTask -TaskName \"$task\" -ErrorAction SilentlyContinue > $null"
- ],
- "pre_uninstall": [
- "$task = \"Kunago wireguard autostart\"",
- "Stop-ScheduledTask -TaskName \"$task\" -ErrorAction SilentlyContinue > $null",
- "Start-Sleep -Seconds 2.0",
- "Stop-Process -Name \"kunago_wireguard\" -Force -ErrorAction SilentlyContinue > $null",
- "Start-Sleep -Seconds 2.0",
- "Unregister-ScheduledTask -TaskName \"$task\" -Confirm:$false -ErrorAction SilentlyContinue > $null"
- ],
- "shortcuts": [
- [
- "python\\python.exe",
- "Wireguard autostart",
- "..\\kunago_wireguard.py",
- "data\\wireguard.ico"
- ]
- ]
- }
|