scoop-games/bucket/citra.json

43 lines
1.7 KiB
JSON

{
"version": "1773-20220706",
"description": "Emulator for Nintendo 3DS, capable of playing many of your favorite games",
"homepage": "https://citra-emu.org/",
"license": {
"identifier": "GPL-2.0",
"url": "https://github.com/citra-emu/citra-nightly/blob/master/license.txt"
},
"url": "https://github.com/citra-emu/citra-nightly/releases/download/nightly-1773/citra-windows-mingw-20220706-353aaaf.7z",
"hash": "1c92bb5bd9bfea35eff60c27b111df2d3b28df3bc894ef8698118a8dd0ecd56b",
"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-(?<env>[\\w]+)-(?<date>[\\d]+)-(?<commit>[\\da-f]{7})\\.(?<zip>7z|zip)",
"replace": "${build}-${date}"
},
"autoupdate": {
"url": "https://github.com/citra-emu/citra-nightly/releases/download/nightly-$matchBuild/citra-windows-$matchEnv-$matchDate-$matchCommit.$matchZip"
}
}