Skip to content

Commit

Permalink
Merge pull request #275 from spoyd/sharpkeys
Browse files Browse the repository at this point in the history
(sharpkeys) fix for project move to github
  • Loading branch information
gep13 authored Mar 11, 2018
2 parents 2cf12b2 + 361bcab commit 6c1dd7f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
9 changes: 4 additions & 5 deletions manual/sharpkeys/sharpkeys.nuspec
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>sharpkeys</id>
<title>SharpKeys</title>
<version>3.5.0</version>
<version>3.5.0.20180307</version>
<authors>Randy</authors>
<owners>chrisortman, ferventcoder</owners>
<summary>SharpKeys is a utility that manages a Registry key that allows Windows to remap one key to any other key.</summary>
<description>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</description>
<projectUrl>http://sharpkeys.codeplex.com/</projectUrl>
<projectUrl>https://github.com/randyrants/sharpkeys</projectUrl>
<packageSourceUrl>https://github.com/ferventcoder/chocolatey-packages/</packageSourceUrl>
<tags>sharpkeys keyboard admin</tags>
<licenseUrl>http://sharpkeys.codeplex.com/license</licenseUrl>
<licenseUrl>https://github.com/randyrants/sharpkeys/blob/master/license.md</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
<!-- character encoding: “UTF-8” -->
14 changes: 10 additions & 4 deletions manual/sharpkeys/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6c1dd7f

Please sign in to comment.