Skip to content

Commit

Permalink
AU: 2 updated - lunacy origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jun 18, 2019
1 parent ce35346 commit 1515790
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion automatic/lunacy/Readme.md
@@ -1,4 +1,4 @@
# [<img src="https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@d0943586300e2821540db3cd5fdbc523334cb76d/lunacy/icons/48x48.png" height="48" width="48" /> ![Lunacy](https://img.shields.io/chocolatey/v/lunacy.svg?label=Lunacy&style=for-the-badge)](https://chocolatey.org/packages/lunacy)
# [<img src="https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@d0943586300e2821540db3cd5fdbc523334cb76d/automatic/lunacy/icons/48x48.png" height="48" width="48" /> ![Lunacy](https://img.shields.io/chocolatey/v/lunacy.svg?label=Lunacy&style=for-the-badge)](https://chocolatey.org/packages/lunacy)

Lunacy is a native Windows app that opens, edits, and stores .sketch files.

Expand Down
2 changes: 1 addition & 1 deletion automatic/lunacy/info
@@ -1 +1 @@
"5cdb3f6f-f3cdf0"|3.16.4
"5d07ff64-81c5b8"|4.0.1
4 changes: 2 additions & 2 deletions automatic/lunacy/lunacy.nuspec
Expand Up @@ -3,13 +3,13 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>lunacy</id>
<version>3.16.4</version>
<version>4.0.1</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/lunacy</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>Lunacy</title>
<authors>Icons8</authors>
<projectUrl>https://icons8.com/lunacy</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@5827d64c2fa1d367e9cea0182638b097ea678bc9/lunacy/icons/128x128.png</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@5827d64c2fa1d367e9cea0182638b097ea678bc9/automatic/lunacy/icons/128x128.png</iconUrl>
<projectSourceUrl>https://github.com/icons8/Lunacy</projectSourceUrl>
<bugTrackerUrl>https://github.com/icons8/Lunacy/issues</bugTrackerUrl>
<tags>lunacy sketch freeware</tags>
Expand Down
2 changes: 1 addition & 1 deletion automatic/lunacy/tools/chocolateyinstall.ps1
Expand Up @@ -5,7 +5,7 @@ $packageArgs = @{
fileType = 'exe'
url = 'https://desk.icons8.com/lunacy/LunacySetup.exe'
softwareName = 'Lunacy'
checksum = 'E6815E8143DEC1C9A917F6D613489451067BB9A0A01628654A7B64CD0AA674971A6B9F685A2FA4439411468EC52685DDD1F7D3A5ACDA21A0B5D6151A3722BD1F'
checksum = '6EC065E6126D59B79C8212926C2678BE7806403A48BE7F67CB9BB42D54FA02ECD68288B5498363D75FCE46265983DC4850E53279146695ED10DA08914ED6C2ED'
checksumType = 'sha512'
silentArgs = "/VERYSILENT /NORESTART /SUPPRESSMSGBOXES /SP- /LOG=`"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).InnoInstall.log`""
validExitCodes = @(0)
Expand Down
2 changes: 1 addition & 1 deletion automatic/origin/info
@@ -1 +1 @@
"e9df41aba69dd1747880b792dcb9ba58-27"|10.5.40.26928
"8ebbe094f601edd6966f260629cb068f-28"|10.5.41.27263
2 changes: 1 addition & 1 deletion automatic/origin/origin.nuspec
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>origin</id>
<version>10.5.40.26928</version>
<version>10.5.41.27263</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/origin</packageSourceUrl>
<owners>AdmiringWorm, thaiphan</owners>
<title>Origin</title>
Expand Down
8 changes: 4 additions & 4 deletions automatic/origin/tools/chocolateyInstall.ps1
Expand Up @@ -7,7 +7,7 @@ $packageArgs = @{
packageName = $env:ChocolateyPackageName
url = 'https://download.dm.origin.com/origin/live/OriginSetup.exe'
softwareName = 'Origin*' # Probably not needed, but we add registry keys so we keep it
checksum = 'B2149F415BC65D7622285573A60E58FF152995FEBB3B42DF1E0C7499B8E6925F2744AB356C0C8AC75B1F2F1234FA2ADE0B41B5D89D5CA37AA714D8425A23AA0D'
checksum = '8F030AD5BAF8FBC833EA313250DFF2DA7BBBB4D08609502EFD7D308637DCE50CD5B885E605572A85198EF5152979E65D6A91CBDEEEF70C20A3384F6BE0E7069B'
checksumType = 'sha512'
destination = Get-PackageCacheLocation
}
Expand All @@ -16,7 +16,7 @@ if ($env:ChocolateyForce -ne $true) {
try {
$InstalledVersion = Get-UninstallRegistryKey $packageArgs['softwareName'] | Select-Object -First 1 -Expand 'DisplayVersion'

if ([Version]::Parse($InstalledVersion) -ge [Version]::Parse('10.5.40.26928'))
if ([Version]::Parse($InstalledVersion) -ge [Version]::Parse('10.5.41.27263'))
{
Write-Host "Skipping installation because version $InstalledVersion is already installed."
return
Expand All @@ -34,10 +34,10 @@ $packageArgs['file'] = $zipFile
$packageArgs['destination'] = GetInstallLocation $pp

if ($pp.NoAutoUpdate) {
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.40.26928'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.41.27263'
}
else {
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.40.26928'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.41.27263'
}

Get-ChocolateyUnzip @packageArgs
Expand Down

0 comments on commit 1515790

Please sign in to comment.