From 39c5b780f11ad0d88ca89e278c616b7ea427cf82 Mon Sep 17 00:00:00 2001 From: Peter Beck Date: Thu, 5 Jul 2018 16:30:23 +0200 Subject: [PATCH] Joplin 1.0.104 --- packages/joplin/joplin.nuspec | 6 ++--- packages/joplin/tools/chocolateyinstall.ps1 | 27 +++------------------ 2 files changed, 7 insertions(+), 26 deletions(-) diff --git a/packages/joplin/joplin.nuspec b/packages/joplin/joplin.nuspec index 9e3c3c0..3b23c49 100755 --- a/packages/joplin/joplin.nuspec +++ b/packages/joplin/joplin.nuspec @@ -2,7 +2,7 @@ joplin - 1.0.96 + 1.0.104 Joplin Laurent Cozic foo.li systeme + software @@ -12,8 +12,8 @@ true a note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS. Joplin Notes and To-Do - https://github.com/laurent22/joplin/releases/tag/v1.0.96 - http://joplin.cozic.net + https://github.com/laurent22/joplin/releases/tag/v1.0.104 + https://github.com/laurent22/joplin/blob/master/LICENSE notes todo admin diff --git a/packages/joplin/tools/chocolateyinstall.ps1 b/packages/joplin/tools/chocolateyinstall.ps1 index 69a3b19..b85a0ac 100755 --- a/packages/joplin/tools/chocolateyinstall.ps1 +++ b/packages/joplin/tools/chocolateyinstall.ps1 @@ -5,29 +5,10 @@ $packageName = 'joplin' $packageSearch = 'Joplin*' $installerType = 'exe' $silentArgs = '/ALLUSERS=1 /S' -$version = '1.0.96' +$version = '1.0.104' $url = 'https://github.com/laurent22/joplin/releases/download/v' + $version + '/Joplin-Setup-' + $version + '.exe' -$url64 = $url -$checksum = '1376026633BCBA4D2B703DCCBCA071234B9EC6EB' +$checksum = '1D8C3F34734723A366C2A779B7722F4934E79373' $checksumType = 'sha1' -$checksum64 = $checksum -$checksumType64 = $checksumType -try { - $app = Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*', - 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') ` - -ErrorAction:SilentlyContinue | Where-Object { $_.DisplayName -like $packageSearch } - - if ($app -and ([version]$app.DisplayVersion -ge [version]$version)) { - Write-Output $( - 'Joplin ' + $version + ' or greater is already installed. ' + - 'No need to download and install again. Otherwise uninstall first.' - ) - } else { - Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 ` - -checksum $checksum -checksumType $checksumType ` - -checksum64 $checksum64 -checksumType64 $checksumType64 - } -} catch { - throw $_.Exception -} \ No newline at end of file +Install-ChocolateyPackage $packageName $installerType $silentArgs $url ` + -checksum $checksum -checksumType $checksumType