kunago_kaspersky.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "version": "1.0.0.14",
  3. "description": "Automatically launches Kaspersky safe mode used when making online payments mostly.",
  4. "license": "None",
  5. "homepage": "https://www.kunago.com",
  6. "hash": "sha512:6A2064560DB8EDBB455D33891CA84BF6258F1098BC83C5AD0ECFAF3B635F66EB865ED1F42BCBDB3ED6060903962FCF1751FC801E451123252D4D0FCD803A4591",
  7. "url": "https://git.apason.cz/kunago/scoop-bucket/raw/branch/master/programs/kunago_kaspersky/kunago_kaspersky-1.0.0.14.7z",
  8. "bin": [
  9. "kunago_kaspersky.exe"
  10. ],
  11. "post_install": [
  12. "if ($global) {$dst = $env:PUBLIC} else {$dst = $env:USERPROFILE}",
  13. "$link = \"$dst\\Desktop\\Bezpečné finance.lnk\"",
  14. "if (Test-Path $link -PathType Leaf) {",
  15. " Remove-Item -Path $link -Force",
  16. "}",
  17. "$wShell = New-Object -comObject WScript.Shell",
  18. "$shortcut = $wShell.CreateShortcut($link)",
  19. "$shortcut.TargetPath = \"$dir\\kunago_kaspersky.exe\"",
  20. "$shortcut.Save()"
  21. ],
  22. "pre_uninstall": [
  23. "if ($global) {$dst = $env:PUBLIC} else {$dst = $env:USERPROFILE}",
  24. "$link = \"$dst\\Desktop\\Bezpečné finance.lnk\"",
  25. "if (Test-Path $link -PathType Leaf) {",
  26. " Remove-Item -Path $link -Force",
  27. "}"
  28. ],
  29. "shortcuts": [
  30. [
  31. "kunago_kaspersky.exe",
  32. "Bezpečné finance (Kaspersky)"
  33. ]
  34. ]
  35. }