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": "1959-20210424",
"url": "https://github.com/citra-emu/citra-canary/releases/download/canary-1959/citra-windows-mingw-20210424-651c9d0.7z",
"hash": "5fc368f4ba6f34d31a3bf24f75e5f0c1332069df2f847d9a112a52676c8ed808",
"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"
}
}