scoop-games/bucket/citra.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": "1708-20210513",
"url": "https://github.com/citra-emu/citra-nightly/releases/download/nightly-1708/citra-windows-mingw-20210513-e7671d9.7z",
"hash": "44ab62b73fb4c5034e6705c2d4aa60220191fe162833ad6c2322cafe8e5a6f5b",
"extract_dir": "nightly-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-nightly",
"regex": "download/nightly-(?<build>[\\d]+)/citra-windows-mingw-(?<date>[\\d]+)-(?<random>[a-fA-F\\d]+).7z",
"replace": "${1}-${2}"
},
"autoupdate": {
"url": "https://github.com/citra-emu/citra-nightly/releases/download/nightly-$matchBuild/citra-windows-mingw-$matchDate-$matchRandom.7z"
}
}