scoop-games/bucket/xenia.json

53 lines
1.9 KiB
JSON

{
"homepage": "https://xenia.jp",
"description": "Xbox 360 Research Emulator",
"version": "1.0.2478",
"license": "BSD-3-Clause",
"architecture": {
"64bit": {
"url": "https://ci.appveyor.com/api/buildjobs/9v4l2mjx2shc6mr9/artifacts/xenia_master.zip",
"hash": "21ae0bbc827dcb0689300973f778882e2028faa18dd669aa6a01a1e119f30bbf"
}
},
"pre_install": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\portable.txt\" -ItemType File | Out-Null",
" New-item \"$persist_dir\\xenia.config.toml\" -ItemType File | Out-Null",
" New-item \"$persist_dir\\content\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\cache\" -ItemType Directory | Out-Null",
" if (Test-Path \"$env:USERPROFILE\\Documents\\Xenia\") {",
" Write-host \"Migrating AppData...\" -ForegroundColor yellow",
" Copy-Item -Path \"$env:USERPROFILE\\Documents\\Xenia\\*\" -Destination \"$persist_dir\" -Recurse",
" Remove-Item -Path \"$env:USERPROFILE\\Documents\\Xenia\" -Recurse",
" }",
"}"
],
"bin": "xenia.exe",
"shortcuts": [
[
"xenia.exe",
"Xenia"
]
],
"persist": [
[
"portable.txt",
"xenia.config.toml",
"content",
"cache"
]
],
"checkver": {
"url": "https://ci.appveyor.com/api/projects/benvanik/xenia/branch/master",
"regex": "\"jobId\":\"(?<jobid>.*?)\".*\"version\":\"(?<version>[\\d\\.]+)-master\""
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://ci.appveyor.com/api/buildjobs/$matchJobid/artifacts/xenia_master.zip"
}
}
}
}