scoop-games/bucket/citra-canary.json

52 lines
1.9 KiB
JSON

{
"version": "2257-20220904",
"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-canary/blob/master/license.txt"
},
"url": "https://github.com/citra-emu/citra-canary/releases/download/canary-2257/citra-windows-mingw-20220904-81ed9f9.7z",
"hash": "86a195a2fdc713a0b67ee878b0a6874b27f6bca681c2f806092696f6b80dd06a",
"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-canary"
],
[
"citra-qt.exe",
"citra-qt-canary"
],
[
"citra-room.exe",
"citra-room-canary"
]
],
"shortcuts": [
[
"citra-qt.exe",
"Citra (Canary)"
]
],
"persist": "user",
"checkver": {
"github": "https://github.com/citra-emu/citra-canary",
"regex": "download/canary-(?<build>[\\d]+)/citra-windows-(?<env>[\\w]+)-(?<date>[\\d]{8})-(?<commit>[\\da-f]{7})\\.(?<zip>7z|zip)",
"replace": "${build}-${date}"
},
"autoupdate": {
"url": "https://github.com/citra-emu/citra-canary/releases/download/canary-$matchBuild/citra-windows-$matchEnv-$matchDate-$matchCommit.$matchZip"
}
}