scoop-games/bucket/xenia.json

52 lines
1.8 KiB
JSON

{
"version": "1.0.2743",
"description": "Xbox 360 Research Emulator",
"homepage": "https://xenia.jp",
"license": {
"identifier": "BSD-3-Clause",
"url": "https://github.com/xenia-project/xenia/blob/master/LICENSE"
},
"architecture": {
"64bit": {
"url": "https://github.com/xenia-project/release-builds-windows/releases/download/v1.0.2743-master/xenia_master.zip",
"hash": "a552a03ac93b70d6a4b6e70faa49de03293ac48cae87b0aac52b2f89f6d24ad0"
}
},
"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",
" 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": {
"github": "https://github.com/xenia-project/release-builds-windows",
"regex": "v([\\d.]+)-master/xenia_master\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/xenia-project/release-builds-windows/releases/download/v$version-master/xenia_master.zip"
}
}
}
}