Skip to content

Commit

Permalink
fix some checkver
Browse files Browse the repository at this point in the history
simplify checkver requires homepage be a github repository
  • Loading branch information
wenxuanjun authored Nov 1, 2024
1 parent 98abc3e commit eda686f
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 114 deletions.
60 changes: 31 additions & 29 deletions bucket/feeluown.json
Original file line number Diff line number Diff line change
@@ -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."
]
}
56 changes: 29 additions & 27 deletions bucket/file-converter.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
46 changes: 23 additions & 23 deletions bucket/fishing-funds.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
28 changes: 15 additions & 13 deletions bucket/hfsexplorer.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
46 changes: 24 additions & 22 deletions bucket/weasel.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit eda686f

Please sign in to comment.