mirror of
https://github.com/Calinou/scoop-games.git
synced 2026-08-02 12:15:05 +08:00
60 lines
2.1 KiB
JSON
60 lines
2.1 KiB
JSON
{
|
|
"version": "3.20.1",
|
|
"description": "Companion application for your Counter-Strike demos",
|
|
"homepage": "https://cs-demo-manager.com",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/akiver/cs-demo-manager/releases/download/v3.20.1/CS-Demo-Manager-Setup-3.20.1.exe#/dl.7z",
|
|
"hash": "eedda43b67bb079be4ffdf3e5fc3b114d07163bf2aa13eeed3d25d1c3563de3a"
|
|
}
|
|
},
|
|
"extract_dir": "$PLUGINSDIR",
|
|
"pre_install": [
|
|
"Remove-Item $dir\\*.dll",
|
|
"Expand-7zipArchive -Path $dir\\app-64.7z -DestinationPath $dir -Removal"
|
|
],
|
|
"installer": {
|
|
"script": [
|
|
"$targetPath = \"$persist_dir\\.csdm\"",
|
|
"ensure $targetPath | Out-Null",
|
|
"$configPath = \"$HOME\\.csdm\"",
|
|
"$linkType = (Get-Item -Path $configPath -ErrorAction SilentlyContinue).LinkType",
|
|
"if (Test-Path $configPath) {",
|
|
" if ($linkType -eq 'Junction') {",
|
|
" Remove-Item -Path $configPath -Force",
|
|
" } else {",
|
|
" Get-ChildItem -Path $configPath -Force | Move-Item -Destination $targetPath -Force",
|
|
" Remove-Item -Path $configPath -Force -Recurse",
|
|
" }",
|
|
"}",
|
|
"New-Item $configPath -ItemType Junction -Target $targetPath | Out-Null"
|
|
]
|
|
},
|
|
"bin": "csdm.cmd",
|
|
"shortcuts": [
|
|
[
|
|
"cs-demo-manager.exe",
|
|
"CS Demo Manager"
|
|
]
|
|
],
|
|
"suggest": {
|
|
"The database": "main/postgresql"
|
|
},
|
|
"notes": [
|
|
"https://cs-demo-manager.com/docs/installation",
|
|
"Reading the step by step instructions here is highly recommended.",
|
|
"CS:DM requires an accessible PostgreSQL database to work properly."
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/akiver/cs-demo-manager"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/akiver/cs-demo-manager/releases/download/v$version/CS-Demo-Manager-Setup-$version.exe#/dl.7z"
|
|
}
|
|
}
|
|
}
|
|
}
|