| 123456789101112131415161718192021222324252627282930 |
- {
- "version": "1.1.0.1",
- "description": "Service that connects or disconnects a wireguard tunnel based on the current conditions.",
- "license": "None",
- "homepage": "https://www.kunago.com",
- "hash": "sha512:23480134A46E89DC3CB275776FD34B63C1BEBD0290718422DE554FDE995F1F59D247EF1E83820BE8A086C9D69D60BD614B5906EBDF18A83C393ADB84C4367CE7",
- "url": "https://git.apason.cz/kunago/scoop-bucket/raw/branch/master/programs/kunago_wireguard/kunago_wireguard-1.1.0.1.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"
- ]
- ]
- }
|