From eda686fbcb9f72d79448e37dfa55672979494b5d Mon Sep 17 00:00:00 2001 From: Xuanjun Wen <41050170+wenxuanjun@users.noreply.github.com> Date: Fri, 1 Nov 2024 16:10:43 +0800 Subject: [PATCH] fix some checkver simplify checkver requires homepage be a github repository --- bucket/feeluown.json | 60 ++++++++++++++++++++------------------ bucket/file-converter.json | 56 ++++++++++++++++++----------------- bucket/fishing-funds.json | 46 ++++++++++++++--------------- bucket/hfsexplorer.json | 28 +++++++++--------- bucket/weasel.json | 46 +++++++++++++++-------------- 5 files changed, 122 insertions(+), 114 deletions(-) diff --git a/bucket/feeluown.json b/bucket/feeluown.json index d1cf92f8c..007bf8ba2 100644 --- a/bucket/feeluown.json +++ b/bucket/feeluown.json @@ -1,29 +1,31 @@ -{ - "version": "4.1.7", - "description": "trying to be a robust, user-friendly and hackable music player", - "homepage": "https://feeluown.readthedocs.io", - "license": "GPL-3.0-or-later", - "url": "https://github.com/feeluown/FeelUOwn/releases/download/v4.1.7/FeelUOwn-windows.zip", - "hash": "4422f9299ff19fd73b4abb0a5a34370d2f6147d6004184265780cec5f81bebfe", - "extract_dir": "FeelUOwn", - "bin": [ - [ - "FeelUOwn.exe", - "FeelUOwn" - ] - ], - "shortcuts": [ - [ - "FeelUOwn.exe", - "FeelUOwn" - ] - ], - "checkver": "github", - "autoupdate": { - "url": "https://github.com/feeluown/FeelUOwn/releases/download/v$version/FeelUOwn-windows.zip" - }, - "notes": [ - "Config and data are stored in %HOMEPATH%\\.FeelUOwn", - "They will not be automatically removed during uninstallation even with -p flag. Delete them manually if needed." - ] -} +{ + "version": "4.1.7", + "description": "trying to be a robust, user-friendly and hackable music player", + "homepage": "https://feeluown.readthedocs.io", + "license": "GPL-3.0-or-later", + "url": "https://github.com/feeluown/FeelUOwn/releases/download/v4.1.7/FeelUOwn-windows.zip", + "hash": "4422f9299ff19fd73b4abb0a5a34370d2f6147d6004184265780cec5f81bebfe", + "extract_dir": "FeelUOwn", + "bin": [ + [ + "FeelUOwn.exe", + "FeelUOwn" + ] + ], + "shortcuts": [ + [ + "FeelUOwn.exe", + "FeelUOwn" + ] + ], + "checkver": { + "github": "https://github.com/feeluown/FeelUOwn" + }, + "autoupdate": { + "url": "https://github.com/feeluown/FeelUOwn/releases/download/v$version/FeelUOwn-windows.zip" + }, + "notes": [ + "Config and data are stored in %HOMEPATH%\\.FeelUOwn", + "They will not be automatically removed during uninstallation even with -p flag. Delete them manually if needed." + ] +} diff --git a/bucket/file-converter.json b/bucket/file-converter.json index daa939c8f..84ce2365a 100644 --- a/bucket/file-converter.json +++ b/bucket/file-converter.json @@ -1,27 +1,29 @@ -{ - "homepage": "https://file-converter.org/", - "version": "2.0.2", - "description": "Various file converter and compressor", - "license": "GPL-3.0-only", - "architecture": { - "64bit": { - "url": "https://github.com/Tichau/FileConverter/releases/download/v2.0.2/FileConverter-2.0.2-x64-setup.msi", - "hash": "9927db55e71cafbebe558d9711c8ca28739fdfd2b787afc6db58255dede927c6" - } - }, - "bin": "PFiles64/File Converter/FileConverter.exe", - "shortcuts": [ - [ - "PFiles64/File Converter/FileConverter.exe", - "File Converter" - ] - ], - "checkver": "github", - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://github.com/Tichau/FileConverter/releases/download/v$version/FileConverter-$version-x64-setup.msi" - } - } - } -} +{ + "homepage": "https://file-converter.org/", + "version": "2.0.2", + "description": "Various file converter and compressor", + "license": "GPL-3.0-only", + "architecture": { + "64bit": { + "url": "https://github.com/Tichau/FileConverter/releases/download/v2.0.2/FileConverter-2.0.2-x64-setup.msi", + "hash": "9927db55e71cafbebe558d9711c8ca28739fdfd2b787afc6db58255dede927c6" + } + }, + "bin": "PFiles64/File Converter/FileConverter.exe", + "shortcuts": [ + [ + "PFiles64/File Converter/FileConverter.exe", + "File Converter" + ] + ], + "checkver": { + "github": "https://github.com/Tichau/FileConverter" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/Tichau/FileConverter/releases/download/v$version/FileConverter-$version-x64-setup.msi" + } + } + } +} diff --git a/bucket/fishing-funds.json b/bucket/fishing-funds.json index 58b394637..3e686c213 100644 --- a/bucket/fishing-funds.json +++ b/bucket/fishing-funds.json @@ -1,23 +1,23 @@ -{ - "version": "6.1.1", - "description": "Display real-time trends of Chinese funds in the menubar", - "homepage": "https://www.aliyundrive.com/", - "license": "LGPL-3.0-only", - "url": "https://github.com/1zilc/fishing-funds/releases/download/v6.1.1/Fishing-Funds-Setup-6.1.1.exe#/dl.7z", - "hash": "sha512:1c6ab8d7d497dbe2f1495611a638fdc71c41522125bfeb7d17d8f3f1cfc39a29551268414d3791692d8e4eaa12ce67faf5673e7391db271e2fb4b3b95a5a0fa2", - "shortcuts": [ - [ - "Fishing Funds.exe", - "Fishing Funds" - ] - ], - "pre_install": [ - "Expand-7zipArchive \"$dir\\`$PLUGINSDIR\\app-64.7z\" \"$dir\"", - "Move-Item \"$dir\\`$R0\\*\" \"$dir\"", - "Remove-Item \"$dir\\`$PLUGINSDIR\",\"$dir\\`$R0\" -Force -Recurse" - ], - "checkver": "github", - "autoupdate": { - "url": "https://github.com/1zilc/fishing-funds/releases/download/$version/Fishing-Funds-Setup-$version.exe#/dl.7z" - } -} +{ + "version": "6.1.1", + "description": "Display real-time trends of Chinese funds in the menubar", + "homepage": "https://github.com/1zilc/fishing-funds", + "license": "LGPL-3.0-only", + "url": "https://github.com/1zilc/fishing-funds/releases/download/v6.1.1/Fishing-Funds-Setup-6.1.1.exe#/dl.7z", + "hash": "sha512:1c6ab8d7d497dbe2f1495611a638fdc71c41522125bfeb7d17d8f3f1cfc39a29551268414d3791692d8e4eaa12ce67faf5673e7391db271e2fb4b3b95a5a0fa2", + "shortcuts": [ + [ + "Fishing Funds.exe", + "Fishing Funds" + ] + ], + "pre_install": [ + "Expand-7zipArchive \"$dir\\`$PLUGINSDIR\\app-64.7z\" \"$dir\"", + "Move-Item \"$dir\\`$R0\\*\" \"$dir\"", + "Remove-Item \"$dir\\`$PLUGINSDIR\",\"$dir\\`$R0\" -Force -Recurse" + ], + "checkver": "github", + "autoupdate": { + "url": "https://github.com/1zilc/fishing-funds/releases/download/$version/Fishing-Funds-Setup-$version.exe#/dl.7z" + } +} diff --git a/bucket/hfsexplorer.json b/bucket/hfsexplorer.json index 107a75761..ca2670df3 100644 --- a/bucket/hfsexplorer.json +++ b/bucket/hfsexplorer.json @@ -1,13 +1,15 @@ -{ - "version": "2021.10.9", - "description": "HFSExplorer is an application that can read Mac-formatted hard disks and disk images.", - "homepage": "https://www.catacombae.org/hfsexplorer/", - "license": "GPL-3.0-or-later", - "url": "https://github.com/unsound/hfsexplorer/releases/download/hfsexplorer-2021.10.9/hfsexplorer-2021.10.9-bin.zip", - "hash": "1dfc2183ebcd5f4ca283def3d3a0061542bdbf43d62a1c35208a4b95bf2b9d8e", - "bin": "bin\\hfsexplorer.bat", - "checkver": "github", - "autoupdate": { - "url": "https://github.com/unsound/hfsexplorer/releases/download/hfsexplorer-$version/hfsexplorer-$version-bin.zip" - } -} +{ + "version": "2021.10.9", + "description": "HFSExplorer is an application that can read Mac-formatted hard disks and disk images.", + "homepage": "https://www.catacombae.org/hfsexplorer/", + "license": "GPL-3.0-or-later", + "url": "https://github.com/unsound/hfsexplorer/releases/download/hfsexplorer-2021.10.9/hfsexplorer-2021.10.9-bin.zip", + "hash": "1dfc2183ebcd5f4ca283def3d3a0061542bdbf43d62a1c35208a4b95bf2b9d8e", + "bin": "bin\\hfsexplorer.bat", + "checkver": { + "github": "https://github.com/unsound/hfsexplorer" + }, + "autoupdate": { + "url": "https://github.com/unsound/hfsexplorer/releases/download/hfsexplorer-$version/hfsexplorer-$version-bin.zip" + } +} diff --git a/bucket/weasel.json b/bucket/weasel.json index cde111e5c..667324593 100644 --- a/bucket/weasel.json +++ b/bucket/weasel.json @@ -1,22 +1,24 @@ -{ - "homepage": "https://rime.im/", - "license": "GPL-3.0-or-later", - "description": "【小狼毫】Rime for Windows", - "version": "0.16.2", - "url": "https://github.com/rime/weasel/releases/download/0.16.2/weasel-0.16.2.0-installer.exe#/dl.7z", - "hash": "3d10b56cd9825ad0b69ffcaabe4dd7119e2b23fb698ef723001789172ef1447a", - "pre_install": [ - "if(!(Test-Path \"$dir\\Rime\")) {New-Item \"$dir\\Rime\" -ItemType Directory | Out-Null} ", - "& \"$dir\\WeaselSetup.exe\" /i", - "& \"$dir\\WeaselDeployer.exe\" /install", - "& \"$dir\\WeaselServer.exe\"" - ], - "post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse", - "uninstaller": { - "script": "Invoke-ExternalCommand \"$dir/uninstall.exe\" -ArgumentList '/S' -RunAs | Out-Null" - }, - "checkver": "github", - "autoupdate": { - "url": "https://github.com/rime/weasel/releases/download/$version/weasel-$version.0-installer.exe#/dl.7z" - } -} +{ + "version": "0.16.2", + "homepage": "https://rime.im/", + "license": "GPL-3.0-or-later", + "description": "【小狼毫】Rime for Windows", + "url": "https://github.com/rime/weasel/releases/download/0.16.2/weasel-0.16.2.0-installer.exe#/dl.7z", + "hash": "3d10b56cd9825ad0b69ffcaabe4dd7119e2b23fb698ef723001789172ef1447a", + "pre_install": [ + "if(!(Test-Path \"$dir\\Rime\")) {New-Item \"$dir\\Rime\" -ItemType Directory | Out-Null} ", + "& \"$dir\\WeaselSetup.exe\" /i", + "& \"$dir\\WeaselDeployer.exe\" /install", + "& \"$dir\\WeaselServer.exe\"" + ], + "post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse", + "uninstaller": { + "script": "Invoke-ExternalCommand \"$dir/uninstall.exe\" -ArgumentList '/S' -RunAs | Out-Null" + }, + "checkver": { + "github": "https://github.com/rime/weasel" + }, + "autoupdate": { + "url": "https://github.com/rime/weasel/releases/download/$version/weasel-$version.0-installer.exe#/dl.7z" + } +}