Skip to content

Commit

Permalink
AU: 1 updated - cacher
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jan 12, 2018
1 parent 3befe34 commit 48e1f2a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
4 changes: 3 additions & 1 deletion automatic/cacher/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# ![Cacher Changelog](https://img.shields.io/badge/Cacher-Package%20Changelog-blue.svg?style=for-the-badge)

## UPCOMING
## Version: 1.2.1 (2018-01-12)
- Added new package

4 changes: 2 additions & 2 deletions automatic/cacher/Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [<img src="https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/e2676b06100795498f414240cf827408a96395d8/icons/cacher.png" height="48" width="48" /> ![Cacher](https://img.shields.io/chocolatey/v/cacher.svg?label=Cacher&style=for-the-badge)](https://chocolatey.org/packages/cacher)
# [<img src="https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/1b97d18d2b1ace59d330e87f45f5d80221db10c0/icons/cacher.png" height="48" width="48" /> ![Cacher](https://img.shields.io/chocolatey/v/cacher.svg?label=Cacher&style=for-the-badge)](https://chocolatey.org/packages/cacher)

Cacher is like long term memory for software professionals. Use it to curate a library of useful code snippets for you and your team.

Expand All @@ -11,4 +11,4 @@ Cacher is like long term memory for software professionals. Use it to curate a l
- Organization accounts

## Notes
- The software for this package only installs as the current user.
- The software for this package only installs as the current user.
11 changes: 7 additions & 4 deletions automatic/cacher/cacher.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cacher</id>
<version>0.0</version>
<version>1.2.1</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/cacher</packageSourceUrl>
<owners>AdmiringWorm, </owners>
<title>Cacher</title>
<authors>Penguin Labs, LLC</authors>
<projectUrl>https://www.cacher.io/</projectUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/e2676b06100795498f414240cf827408a96395d8/icons/cacher.png</iconUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/1b97d18d2b1ace59d330e87f45f5d80221db10c0/icons/cacher.png</iconUrl>
<copyright>© 2018 Penguin Labs, LLC
All Rights Reserved</copyright>
<licenseUrl>https://www.cacher.io/terms/</licenseUrl>
Expand All @@ -18,7 +18,7 @@ All Rights Reserved</copyright>
<tags>cacher code snippets</tags>
<summary>The code snippet organizer for pro developers</summary>
<!-- Do not touch the description here in the nuspec file. Description is imported during update from the Readme.md file -->
<description>Cacher is like long term memory for software professionals. Use it to curate a library of useful code snippets for you and your team.
<description><![CDATA[Cacher is like long term memory for software professionals. Use it to curate a library of useful code snippets for you and your team.
## Features
- Cross-platform sharing
Expand All @@ -27,7 +27,10 @@ All Rights Reserved</copyright>
- Docs with Markdown
- Snippets in your language
- Organization accounts
</description>
## Notes
- The software for this package only installs as the current user.
]]></description>
<releaseNotes>[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/cacher/Changelog.md)</releaseNotes>
</metadata>
<files>
Expand Down
6 changes: 3 additions & 3 deletions automatic/cacher/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'coq*'
softwareName = 'Cacher*'
fileType = 'exe'
silentArgs = '/S'
validExitCodes = @(@(0))
Expand All @@ -13,7 +13,7 @@ $uninstalled = $false
[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
[string]$uninstallString = $_.UninstallString
$index = $uninstallString.LastIndexOf(' ')
$packageArgs['file'] = $uninstallString.Remove($index).Trim('"')
Expand All @@ -28,5 +28,5 @@ 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 the package maintainer that the following keys were matched:"
$key | % { Write-Warning "- $($_.DisplayName)" }
$key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
8 changes: 4 additions & 4 deletions automatic/cacher/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = 'https://s3.amazonaws.com/download.cacher.io/Cacher Setup 1.2.1.exe'
softwareName = 'cacher*'
checksum = ''
checksumType = ''
url = 'https://s3.amazonaws.com/download.cacher.io/Cacher%20Setup%201.2.1.exe'
softwareName = 'Cacher*'
checksum = 'da40300cd242240bfe8ae2adb09f13d0432d664414a57e9da3a0f9b3183c78ebbf58726a1f884cd927c2ed3f3ec85c4034a8bc651bc0f9d621ee07807f33e565'
checksumType = 'sha512'
silentArgs = '/S'
validExitCodes = @(0)
}
Expand Down

0 comments on commit 48e1f2a

Please sign in to comment.