scoop-games/bucket/citra-canary.json

40 lines
1.5 KiB
JSON

{
"homepage": "https://citra-emu.org/",
"description": "Emulator for Nintendo 3DS, capable of playing many of your favorite games",
"license": "MIT",
"version": "1988-20210822",
"url": "https://github.com/citra-emu/citra-canary/releases/download/canary-1988/citra-windows-mingw-20210822-085788e.7z",
"hash": "1c1a78dcfddb4bc3fd9beb0dc1b1ffa359c55f76f7ccc8268fa47656ff96f647",
"extract_dir": "canary-mingw",
"pre_install": [
"if (!(Test-Path \"$persist_dir\\user\")) {",
" New-Item -Path \"$persist_dir\" -Name \"user\" -ItemType \"directory\" | Out-Null",
" if (Test-Path \"$env:APPDATA\\Citra\") {",
" Write-host \"Migrating AppData...\" -ForegroundColor yellow",
" Copy-Item -Path \"$env:APPDATA\\Citra\\*\" -Destination \"$persist_dir\\user\" -Recurse",
" Remove-Item -Path \"$env:APPDATA\\Citra\" -Recurse",
" }",
"}"
],
"bin": [
"citra.exe",
"citra-qt.exe",
"citra-room.exe"
],
"shortcuts": [
[
"citra-qt.exe",
"Citra"
]
],
"persist": "user",
"checkver": {
"github": "https://github.com/citra-emu/citra-canary",
"regex": "download/canary-(?<build>[\\d]+)/citra-windows-mingw-(?<date>[\\d]+)-(?<random>[a-fA-F\\d]+).7z",
"replace": "${1}-${2}"
},
"autoupdate": {
"url": "https://github.com/citra-emu/citra-canary/releases/download/canary-$matchBuild/citra-windows-mingw-$matchDate-$matchRandom.7z"
}
}