Skip to content

Commit

Permalink
Add Chocolatey package source
Browse files Browse the repository at this point in the history
  • Loading branch information
scottlerch committed Feb 19, 2018
1 parent 237e216 commit 7701c0b
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@
/packages
/src/ScottLerch.snk
/src/ScottLerch.pfx
/.vs
*.nupkg
22 changes: 22 additions & 0 deletions choco/hosts.editor.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>hosts.editor</id>
<version>1.2.0</version>
<title>Hosts File Editor</title>
<authors>scottlerch,stimpy77</authors>
<owners>scottlerch,stimpy77</owners>
<licenseUrl>https://raw.githubusercontent.com/scottlerch/HostsFileEditor/master/License.md</licenseUrl>
<projectUrl>https://scottlerch.github.io/HostsFileEditor/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Hosts File Editor makes it easy to change your hosts file as well as archive multiple versions for easy retrieval.</description>
<summary>Hosts File Editor is a GUI that makes it easy to change your hosts file as well as archive multiple versions for easy retrieval.</summary>
<releaseNotes>Flush DNS cache after save, refresh, enable and disable.
Added link to GitHub page on about window.
Fixed bug with file opener not using default text editor.
Consolidate into one executable and config file and create portable install.
Added ability to open hosts file in default text editor.</releaseNotes>
<copyright>Copyright 2018 Scott M. Lerch</copyright>
<tags>hosts hostsfile editor network admin tool</tags>
</metadata>
</package>
7 changes: 7 additions & 0 deletions choco/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$packageName = 'hosts.editor'
$installerType = 'msi'
$url = 'https://github.com/scottlerch/HostsFileEditor/releases/download/v1.2.0/HostsFileEditorSetup-1.2.0.msi'
$silentArgs = '/quiet'
$validExitCodes = @(0)

Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -validExitCodes $validExitCodes
Binary file added src/Resources/HostsFileEditor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7701c0b

Please sign in to comment.