diff --git a/bucket/gopeed.json b/bucket/gopeed.json new file mode 100644 index 0000000..6fd355c --- /dev/null +++ b/bucket/gopeed.json @@ -0,0 +1,35 @@ +{ + "##": "Gopeed", + "version": "1.5.5", + "description": "支持所有平台的现代下载管理器。使用 Golang 和 Flutter 构建", + "license": { + "identifier": "GPL-3.0-only", + "url": "https://github.com/GopeedLab/gopeed/blob/main/LICENSE" + }, + "homepage": "https://github.com/GopeedLab/gopeed", + "hash": "21c022c0ec8350080c3cf565ecae5966e11d8425e02c424de3674edae237b66c", + "url": "https://github.com/GopeedLab/gopeed/releases/download/v1.5.5/Gopeed-v1.5.5-windows-amd64-portable.zip", + "checkver": "github", + "pre_install": [ + "if (-not (Test-Path \"$persist_dir\\gopeed.db\")) { New-Item \"$dir\\gopeed.db\" -ItemType file | Out-Null }", + "if (-not (Test-Path \"$persist_dir\\database.hive\")) { New-Item \"$dir\\database.hive\" -ItemType file | Out-Null }", + "if (-not (Test-Path \"$persist_dir\\database.lock\")) { New-Item \"$dir\\database.lock\" -ItemType file | Out-Null }" + ], + "autoupdate": { + "url": "https://github.com/GopeedLab/gopeed/releases/download/v$version/Gopeed-v$version-windows-amd64-portable.zip" + }, + "persist": [ + "logs", + "extensions", + "gopeed.db", + "database.hive", + "database.lock" + ], + "shortcuts": [ + [ + "gopeed.exe", + "Gopeed" + ] + ], + "bin": "gopeed.exe" +}