kunago_bitdefender.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "version": "1.0.0.2",
  3. "description": "Automatically launches Bitdefender SafePay used when making online payments mostly.",
  4. "license": "None",
  5. "homepage": "https://www.kunago.com",
  6. "hash": "sha512:B88EDDA5B390FD8E2D5058233AF13F5C745787A719EFC6FCA915800C5DF1B7C34ABECAA649DC495F2764D08B8924BA3E2CAE29C85B3517012FF7E1B8C7E0015C",
  7. "url": "https://git.apason.cz/kunago/scoop-bucket/raw/master/programs/kunago_bitdefender/kunago_bitdefender-1.0.0.2.7z",
  8. "bin": [
  9. "kunago_bitdefender.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_bitdefender.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_bitdefender.exe",
  32. "Bezpečné finance (Bitdefender)"
  33. ]
  34. ]
  35. }