Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package/chocolatey/unigetui/deploy.template.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo on
cmd /k cpush "unigetui.$VAR1$.nupkg"
16 changes: 16 additions & 0 deletions package/chocolatey/unigetui/tools/chocolateyInstall.template.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
$ErrorActionPreference = 'Stop'

$PackageName = 'unigetui'
$Url = 'https://cdn.devolutions.net/download/Devolutions.UniGetUI.win-x64.$VAR1$.0.exe'

$PackageArgs = @{
packageName = $PackageName
url = $Url
fileType = 'exe'
silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /ALLUSERS /NoWinGet /NoAutoStart'
validExitCodes= @(0, 3010)
checksum = '$VAR2$'
checksumType = 'sha256'
}

Install-ChocolateyPackage @PackageArgs
32 changes: 32 additions & 0 deletions package/chocolatey/unigetui/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
$ErrorActionPreference = 'Stop'

$PackageName = 'unigetui'

$PackageArgs = @{
packageName = $PackageName
softwareName = 'UniGetUI'
fileType = 'exe'
silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART'
validExitCodes= @(0, 3010)
}

[array]$Key = Get-UninstallRegistryKey -SoftwareName $PackageArgs['softwareName']

if ($Key.Count -eq 1) {
$Key | % {
$uninstallExe = $_.UninstallString -replace '"', ''
if (Test-Path $uninstallExe) {
$PackageArgs['file'] = $uninstallExe
Uninstall-ChocolateyPackage @PackageArgs
} else {
Write-Warning "Uninstaller not found at $uninstallExe"
}
}
} elseif ($Key.Count -eq 0) {
Write-Warning "$PackageName has already been uninstalled."
} elseif ($Key.Count -gt 1) {
Write-Warning "$($Key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "The following keys were matched:"
$Key | % {Write-Warning "- $($_.DisplayName)"}
}
23 changes: 23 additions & 0 deletions package/chocolatey/unigetui/unigetui.template.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>unigetui</id>
<title>UniGetUI</title>
<version>$VAR1$</version>
<authors>Devolutions Inc.</authors>
<owners>Devolutions Inc.</owners>
<summary>An intuitive GUI to discover, install, update, and uninstall packages from WinGet, Scoop, Chocolatey, npm, Pip, and more.</summary>
<description>The main goal of this project is to create an intuitive GUI for the most common CLI package managers for Windows 10 and Windows 11, such as WinGet, Scoop, Chocolatey, npm, Pip, .NET Tool, PowerShell Gallery and Cargo.</description>
<projectUrl>https://devolutions.net/unigetui/</projectUrl>
<tags>unigetui wingetui cli package-manager windows-10 windows-11 scoop winget chocolatey npm pip dotnet-tool dotnet windows package-manager-interface gui powershell powershell-ui gallery devolutions</tags>
<copyright>Copyright © 2006-2026</copyright>
<releaseNotes>https://github.com/Devolutions/UniGetUI/releases/tag/v$VAR1$</releaseNotes>
<licenseUrl>https://github.com/Devolutions/UniGetUI/blob/HEAD/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdnweb.devolutions.net/web/common/logos/img-devolutions-unigetui-white.svg</iconUrl>
</metadata>
<files>
<file src="tools\chocolateyInstall.ps1" target="tools" />
<file src="tools\chocolateyUninstall.ps1" target="tools" />
</files>
</package>