Joplin 1.0.104
This commit is contained in:
parent
a44de74cca
commit
39c5b780f1
@ -2,7 +2,7 @@
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>joplin</id>
|
||||
<version>1.0.96</version>
|
||||
<version>1.0.104</version>
|
||||
<title>Joplin</title>
|
||||
<authors>Laurent Cozic</authors>
|
||||
<owners>foo.li systeme + software</owners>
|
||||
@ -12,8 +12,8 @@
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<description>a note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS. </description>
|
||||
<summary>Joplin Notes and To-Do</summary>
|
||||
<releaseNotes>https://github.com/laurent22/joplin/releases/tag/v1.0.96</releaseNotes>
|
||||
<copyright>http://joplin.cozic.net</copyright>
|
||||
<releaseNotes>https://github.com/laurent22/joplin/releases/tag/v1.0.104</releaseNotes>
|
||||
<copyright>https://github.com/laurent22/joplin/blob/master/LICENSE</copyright>
|
||||
<language />
|
||||
<tags>notes todo admin</tags>
|
||||
</metadata>
|
||||
|
@ -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
|
||||
}
|
||||
Install-ChocolateyPackage $packageName $installerType $silentArgs $url `
|
||||
-checksum $checksum -checksumType $checksumType
|
||||
|
Loading…
Reference in New Issue
Block a user