From 361bcab4ba97ec7d0fa2a581181a3a7063a333a8 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 7 Mar 2018 21:25:36 -0500 Subject: [PATCH] (sharpkeys) fix for project move to github --- manual/sharpkeys/sharpkeys.nuspec | 9 ++++----- manual/sharpkeys/tools/chocolateyInstall.ps1 | 14 ++++++++++---- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/manual/sharpkeys/sharpkeys.nuspec b/manual/sharpkeys/sharpkeys.nuspec index b1acc87ae..861f0813d 100644 --- a/manual/sharpkeys/sharpkeys.nuspec +++ b/manual/sharpkeys/sharpkeys.nuspec @@ -1,21 +1,20 @@ - + sharpkeys SharpKeys - 3.5.0 + 3.5.0.20180307 Randy chrisortman, ferventcoder SharpKeys is a utility that manages a Registry key that allows Windows to remap one key to any other key. SharpKeys is a utility that manages a Registry key that allows Windows to remap one key to any other key. Included in the application is a list of common keyboard keys and a Type Key feature to automatically recognize most keyboard keys. It was originally developed in C# using .NET v2 but has been updated to support .NET 4.0 Client Profile - http://sharpkeys.codeplex.com/ + https://github.com/randyrants/sharpkeys https://github.com/ferventcoder/chocolatey-packages/ sharpkeys keyboard admin - http://sharpkeys.codeplex.com/license + https://github.com/randyrants/sharpkeys/blob/master/license.md false - diff --git a/manual/sharpkeys/tools/chocolateyInstall.ps1 b/manual/sharpkeys/tools/chocolateyInstall.ps1 index 2a1ae522d..1cd20a8a2 100644 --- a/manual/sharpkeys/tools/chocolateyInstall.ps1 +++ b/manual/sharpkeys/tools/chocolateyInstall.ps1 @@ -1,7 +1,13 @@ $packageName = 'sharpkeys' -$packageType = 'msi' -$silentArgs = '/qn' -$url = 'https://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=sharpkeys&DownloadId=319724&FileTime=129737577110830000&Build=20911' +$url = 'https://github.com/randyrants/sharpkeys/releases/download/v3.5/sharpkeys35.msi' -Install-ChocolateyPackage "$packageName" "$packageType" "$silentArgs" "$url" +$packageArgs = @{ + packageName = 'sharpkeys' + fileType = 'msi' + url = $url + silentArgs = '/qn' + validExitCodes = @(0) + softwareName = 'SharpKeys' +} +Install-ChocolateyPackage @packageArgs