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": "1970-20210516",
"url": "https://github.com/citra-emu/citra-canary/releases/download/canary-1970/citra-windows-mingw-20210516-7ee5bf9.7z",
"hash": "c7b145f8372450a4dedf4fa19bdd754fd8f7dea5f1e7788fa384097eca63a996",
"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"
}
}