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