1
0

kunago_smartpssac.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "version": "1.0.0.0",
  3. "description": "Dahua SmartPSS AC launcher not requiring admin priviledges.",
  4. "license": "None",
  5. "homepage": "https://www.kunago.com",
  6. "hash": "sha512:18E92C60E85BBEF7812471AD14096C51F4BE699EF15C210FCBABFAAEC5F1A4FCF539E23139640A7F14798E56DB95DFB2A2D287B79D4E214D1173AF5AAFC15E07",
  7. "url": "https://git.apason.cz/kunago/scoop-bucket/raw/master/programs/kunago_smartpssac/kunago_smartpssac-1.0.0.0.7z",
  8. "bin": [
  9. "kunago_smartpssac.exe"
  10. ],
  11. "post_install": [
  12. "if ($global) {$dst = $env:PUBLIC} else {$dst = $env:USERPROFILE}",
  13. "$link = \"$dst\\Desktop\\Přístupový systém.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_smartpssac.exe\"",
  20. "$shortcut.Save()"
  21. ],
  22. "pre_uninstall": [
  23. "if ($global) {$dst = $env:PUBLIC} else {$dst = $env:USERPROFILE}",
  24. "$link = \"$dst\\Desktop\\Přístupový systém.lnk\"",
  25. "if (Test-Path $link -PathType Leaf) {",
  26. " Remove-Item -Path $link -Force",
  27. "}"
  28. ],
  29. "shortcuts": [
  30. [
  31. "kunago_smartpssac.exe",
  32. "Přístupový systém"
  33. ]
  34. ],
  35. "notes": "Poslední verze Dahua SmartPSS AC se nachází na lokálním úložišti ve složce software/Dahua SmartPSS AC"
  36. }