/
oasis.json
27 lines (27 loc) 路 915 Bytes
/
oasis.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"version": "0.2.6",
"description": "A self-hosted file server.",
"homepage": "https://github.com/machengim/oasis",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/machengim/oasis/releases/download/v0.2.6/oasis-v0.2.6-windows_x86_64.zip",
"hash": "ced1dd09384a065a45f16c6c611c3e9c279bb7613f78a4c424381e2b946fe370"
}
},
"extract_dir": "oasis",
"pre_install": "if (!(Test-Path \"$persist_dir\\oasis.conf\")) { Copy-Item \"$dir\\oasis.conf.sample\" \"$dir\\oasis.conf\" | Out-Null }",
"persist": [
"db",
"oasis.conf"
],
"bin": "oasis.exe",
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/machengim/oasis/releases/download/v$version/oasis-v$version-windows_x86_64.zip"
}
}
}
}