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": "1955-20210306",
"url": "https://github.com/citra-emu/citra-canary/releases/download/canary-1955/citra-windows-mingw-20210306-88ac3d3.7z",
"hash": "a3dbab6954ce9cbff85d0631364863be8cf33e3e6b4f81c23af8d853c5c82315",
"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"
}
}