diff --git a/bucket/unigetui-np.json b/bucket/unigetui-np.json new file mode 100644 index 000000000..ac0c28b61 --- /dev/null +++ b/bucket/unigetui-np.json @@ -0,0 +1,40 @@ +{ + "version": "3.1.2", + "description": "UniGetUI - An intuitive GUI for the most common CLI package managers for Windows 10 and 11", + "homepage": "https://www.marticliment.com/unigetui", + "license": { + "identifier": "MIT", + "url": "https://github.com/marticliment/UniGetUI/blob/main/LICENSE" + }, + "architecture": { + "64bit": { + "url": "https://github.com/marticliment/UniGetUI/releases/download/3.1.2/UniGetUI.Installer.exe#/setup.exe#/setup.exe", + "hash": "456a4f2d548c590ecf56e90d1846ddf2bcd9e3d7bde6747602328885675a2c8f" + } + }, + "installer": { + "script": [ + "if (!(is_admin)) { Write-Host \" ERROR: $app requires admin rights to $cmd\" -ForegroundColor DarkRed; break }", + "Start-Process -Wait \"$dir\\setup.exe\" \"/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /NoAutoStart /ALLUSERS /NoWinGet /NoChocolatey\"" + ] + }, + "uninstaller": { + "script": [ + "if (!(is_admin)) { Write-Host \" ERROR: $app requires admin rights to $cmd\" -ForegroundColor DarkRed; break }", + "$uninstaller = (Get-ItemProperty -ErrorAction Ignore \"HKCU:\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{889610CC-4337-4BDB-AC3B-4F21806C0BDE}_is1\" -Name UninstallString).UninstallString", + "if (!$uninstaller) { $uninstaller = (Get-ItemProperty -ErrorAction Ignore \"HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{889610CC-4337-4BDB-AC3B-4F21806C0BDE}_is1\" -Name UninstallString).UninstallString }", + "if (!$uninstaller) { warn 'Could not find app info in registry' }", + "Start-Process -Wait \"$uninstaller\" \"/VERYSILENT\" -Verb RunAs" + ] + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/marticliment/UniGetUI/releases/download/$version/UniGetUI.Installer.exe#/setup.exe#/setup.exe" + } + } + }, + "checkver": { + "github": "https://github.com/marticliment/UniGetUI" + } +}