| 12345678910111213141516171819202122232425262728293031 |
- {
- "version": "1.0.0.9",
- "description": "Service that connects or disconnects a wireguard tunnel based on the current conditions.",
- "license": "None",
- "homepage": "https://www.kunago.com",
- "hash": "sha512:3C88B716FB1DA4585D6483E3E5579EE339A15D5C2B770D4D33ADAAEA5C41B0264856B8A76B4C8459C9A6DF2E1C9FDF8C8CDBE97158E8E01D578EE0BA8D2DA9BD",
- "url": "https://git.apason.cz/kunago/scoop-bucket/raw/branch/master/programs/kunago_wireguard/kunago_wireguard-1.0.0.9.7z",
- "bin": [
- "kunago_wireguard.exe"
- ],
- "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": [
- [
- "kunago_wireguard.exe",
- "Wireguard autostart"
- ]
- ]
- }
|