Skip to content

Commit b227227

Browse files
committed
Update
1 parent c6d07cd commit b227227

4 files changed

Lines changed: 7 additions & 26 deletions

File tree

‎Choco/NETworkManager/networkmanager.nuspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
3838
<authors>BornToBeRoot</authors>
3939
<!-- projectUrl is required for the community feed -->
4040
<projectUrl>https://github.com/BornToBeRoot/NETworkManager</projectUrl>
41-
<iconUrl>https://raw.githubusercontent.com/BornToBeRoot/NETworkManager/master/Icon/NETworkManager.ico</iconUrl>
41+
<iconUrl>https://raw.githubusercontent.com/BornToBeRoot/NETworkManager/master/Icon/NETworkManager.svg</iconUrl>
4242
<!-- <copyright>Year Software Vendor</copyright> -->
4343
<!-- If there is a license Url available, it is required for the community feed -->
4444
<licenseUrl>https://github.com/BornToBeRoot/NETworkManager/blob/master/LICENSE</licenseUrl>
-4.09 MB
Binary file not shown.
Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11

22
$ErrorActionPreference = 'Stop';
33
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
4-
$fileLocation = Join-Path $toolsDir 'NETworkManager_v1.6.2.0_Setup.msi'
4+
$url = 'https://github.com/BornToBeRoot/NETworkManager/releases/download/v1.6.2.0/NETworkManager_v1.6.2.0_Setup.msi'
5+
$url64 = 'https://github.com/BornToBeRoot/NETworkManager/releases/download/v1.6.2.0/NETworkManager_v1.6.2.0_Setup.msi'
56

67
$packageArgs = @{
78
packageName = $env:ChocolateyPackageName
89
unzipLocation = $toolsDir
910
fileType = 'MSI'
10-
file = $fileLocation
11+
url = $url
12+
url64bit = $url64
1113

1214
softwareName = 'NETworkManager*'
1315

@@ -20,23 +22,4 @@ $packageArgs = @{
2022
validExitCodes= @(0, 3010, 1641)
2123
}
2224

23-
Install-ChocolateyPackage @packageArgs
24-
25-
26-
27-
28-
29-
30-
31-
32-
33-
34-
35-
36-
37-
38-
39-
40-
41-
42-
25+
Install-ChocolateyPackage @packageArgs

‎Choco/NETworkManager/tools/chocolateyuninstall.ps1‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,4 @@ if ($key.Count -eq 1) {
2828
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
2929
Write-Warning "Please alert package maintainer the following keys were matched:"
3030
$key | % {Write-Warning "- $($_.DisplayName)"}
31-
}
32-
33-
31+
}

0 commit comments

Comments
 (0)