mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
alist: Add version 3.2.1 (#4060)
This commit is contained in:
parent
366f4ac9d3
commit
8e91d500aa
50
bucket/alist.json
Normal file
50
bucket/alist.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user