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