alist: Add version 3.2.1 (#4060)

This commit is contained in:
Hsiao-nan Cheung 2022-10-26 19:40:58 +08:00 committed by GitHub
parent 366f4ac9d3
commit 8e91d500aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

50
bucket/alist.json Normal file
View File

@ -0,0 +1,50 @@
{
"version": "3.2.1",
"description": "A file list program that supports multiple storage, powered by Gin and Solidjs.",
"homepage": "https://alist.nn.ci",
"license": "AGPL-3.0-or-later",
"architecture": {
"64bit": {
"url": "https://github.com/alist-org/alist/releases/download/v3.2.1/alist-windows-4.0-amd64.zip",
"hash": "md5:157a1c4e6ab3f492215d15f3bc04e6f4"
},
"32bit": {
"url": "https://github.com/alist-org/alist/releases/download/v3.2.1/alist-windows-4.0-386.zip",
"hash": "md5:88be14c1b8d93a20d17cef489f570169"
}
},
"bin": [
[
"alist.exe",
"alist",
"--conf \"$dir\\data\\config.json\""
]
],
"post_install": [
"$file = 'data\\config.json'",
"if (!(Test-Path \"$persist_dir\\$file\")) {",
" $CONT = @{ database = @{ db_file = \"$persist_dir\\data\\data.db\" }; temp_dir = \"$persist_dir\\data\\temp\"; log = @{ name = \"$persist_dir\\log\\log.log\" } }",
" Set-Content \"$dir\\$file\" ($CONT | ConvertTo-Json) -Encoding ASCII",
"}"
],
"persist": [
"data",
"log"
],
"checkver": {
"github": "https://github.com/alist-org/alist"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/alist-org/alist/releases/download/v$version/alist-windows-4.0-amd64.zip"
},
"32bit": {
"url": "https://github.com/alist-org/alist/releases/download/v$version/alist-windows-4.0-386.zip"
}
},
"hash": {
"url": "$baseurl/md5.txt"
}
}
}