From 06cd8861eb1799f590da29b67b6dddc817d99fb7 Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Sun, 29 Sep 2019 16:03:28 +0000 Subject: [PATCH] Euler: fix ckeckver (#2898) --- bucket/euler.json | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/bucket/euler.json b/bucket/euler.json index 590350b4465e72..c066ddd075c2a9 100644 --- a/bucket/euler.json +++ b/bucket/euler.json @@ -1,21 +1,12 @@ { + "version": "2019-09-27", "homepage": "http://euler-math-toolbox.de", - "version": "2019-08-21", - "license": "GPL-3.0-or-later", "description": "A powerful math program combining numerical and symbolic tools (using the computer algebra system Maxima).", + "license": "GPL-3.0-or-later", "architecture": { "64bit": { - "url": "https://downloads.sourceforge.net/project/eumat/Installer/EulerSetup-64_2019-08-21.exe", - "hash": "sha1:017bfb2d3d4ff119e5d8a3f8f132f779f44484b5", - "installer": { - "script": [ - "Expand-InnoArchive -Path \"$dir\\$fname\"", - "Expand-InnoArchive -Path \"$dir\\$fname\" -ExtractDir '{sys}' -Removal", - "if (!(Test-Path \"$persist_dir\\.euler.profile\")) {", - " New-Item -Path \"$dir\\.euler.profile\" -ItemType 'File' | Out-Null", - "}" - ] - }, + "url": "https://downloads.sourceforge.net/project/eumat/Installer/EulerSetup-64_2019-09-27.exe", + "hash": "sha1:0143debb249f4f531f00c16c81ba4d07743b1940", "bin": [ "euler64.exe", [ @@ -31,11 +22,23 @@ ] } }, + "installer": { + "script": [ + "Expand-InnoArchive -Path \"$dir\\$fname\"", + "Expand-InnoArchive -Path \"$dir\\$fname\" -ExtractDir '{sys}' -Removal", + "if (!(Test-Path \"$persist_dir\\.euler.profile\")) {", + " New-Item -Path \"$dir\\.euler.profile\" -ItemType 'File' | Out-Null", + "}" + ] + }, "persist": [ "Euler Files", ".euler.profile" ], - "checkver": "Version ([\\d-]+)", + "checkver": { + "url": "https://sourceforge.net/projects/eumat/rss?path=/Installer", + "regex": "EulerSetup-64_([\\d-]+)\\.exe" + }, "autoupdate": { "architecture": { "64bit": {