Update to version 1.9

This commit is contained in:
Mahmoud Gomaa authored and GitHub committed 2023-09-27 19:50:59 +03:00
1 parent 5782fa717b
commit a0581c4e9d
4 files changed
+59 -62

No files matched your search

Binary file not shown.
+23 -26
View File
@@ -1,26 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>nilesoft-shell</id>
<version>1.8.1</version>
<title>Nilesoft Shell</title>
<authors>Mahmoud Gomaa</authors>
<owners>Mahmoud Gomaa</owners>
<projectUrl>https://nilesoft.org</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/moudey/Shell@main/packages/assets/logo-256.png</iconUrl>
<copyright>2023 Nilesoft Ltd.</copyright>
<licenseUrl>https://raw.githubusercontent.com/moudey/Shell/main/LICENSE</licenseUrl>
<packageSourceUrl>https://github.com/moudey/Shell/tree/main/packages/choco</packageSourceUrl>
<docsUrl>https://nilesoft.org/docs</docsUrl>
<tags>context-menu right-click file-explorer shell-extension</tags>
<summary>Powerful context menu manager for Windows File Explorer.</summary>
<description>Shell is a context menu extender that lets you handpick the items to integrate into Windows File Explorer context menu, create custom commands to access all your favorite web pages, files, and folders, and launch any application directly from the context menu. It also provides you a convenient solution to modify or remove any context menu item added by the system or third party software.</description>
<releaseNotes>- Fixed a keyboard bug when executing a command.
- Fixed a bug with 'title.xxx' functions.
- New 'checked' property for static item to change the checked state.
- New value for 'image.align' option to set priority.</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>nilesoft-shell</id>
<version>1.9</version>
<title>Nilesoft Shell</title>
<authors>Mahmoud Gomaa</authors>
<owners>Mahmoud Gomaa</owners>
<projectUrl>https://nilesoft.org</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/moudey/Shell@main/packages/assets/logo-256.png</iconUrl>
<copyright>2023 Nilesoft Ltd.</copyright>
<licenseUrl>https://raw.githubusercontent.com/moudey/Shell/main/LICENSE</licenseUrl>
<packageSourceUrl>https://github.com/moudey/Shell/tree/main/packages/choco</packageSourceUrl>
<docsUrl>https://nilesoft.org/docs</docsUrl>
<tags>context-menu right-click file-explorer shell-extension</tags>
<summary>Powerful context menu manager for Windows File Explorer.</summary>
<description>Shell is a context menu extender that lets you handpick the items to integrate into Windows File Explorer context menu, create custom commands to access all your favorite web pages, files, and folders, and launch any application directly from the context menu. It also provides you a convenient solution to modify or remove any context menu item added by the system or third party software.</description>
<releaseNotes>Changes in the configuration file structure, making it more flexible, improving performance, fixing some issues, and adding more helper functions make the Explorer more powerful.</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
+12 -12
View File
@@ -1,13 +1,13 @@
$ErrorActionPreference = 'Stop' # stop on all errors
$url = 'https://nilesoft.org/download/shell/1.8/setup.exe'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = $url
softwareName = 'Nilesoft Shell'
checksum = 'c87da931586ab14ce957e99971ef8b344edfb1b0caa273e87c1be752bb924447'
checksumType = 'sha256'
silentArgs = '/VERYSILENT /NORESTART' # Inno Setup
validExitCodes= @(0)
}
$ErrorActionPreference = 'Stop' # stop on all errors
$url = 'https://nilesoft.org/download/shell/1.9/setup.exe'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = $url
softwareName = 'Nilesoft Shell'
checksum = '4df2b30fc6b9d6d7c95c7e5070fbeb305c7d1b30ef3c135bb9e2838c10114fb6'
checksumType = 'sha256'
silentArgs = '/VERYSILENT /NORESTART' # Inno Setup
validExitCodes= @(0)
}
Install-ChocolateyPackage @packageArgs
+24 -24
View File
@@ -1,24 +1,24 @@
$ErrorActionPreference = 'Stop' # stop on all errors
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'Nilesoft Shell'
fileType = 'exe'
silentArgs = '/VERYSILENT /NORESTART' # Inno Setup
validExitCodes= @(0)
}
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($key.Count -eq 1) {
$key | % {
$packageArgs['file'] = "$($_.UninstallString)"
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} 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 "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $($_.DisplayName)"}
}
$ErrorActionPreference = 'Stop' # stop on all errors
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'Nilesoft Shell'
fileType = 'exe'
silentArgs = '/VERYSILENT /NORESTART' # Inno Setup
validExitCodes= @(0)
}
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($key.Count -eq 1) {
$key | % {
$packageArgs['file'] = "$($_.UninstallString)"
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} 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 "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $($_.DisplayName)"}
}