scoop-games/bucket/dolphin-beta.json

38 lines
1.6 KiB
JSON

{
"homepage": "https://dolphin-emu.org/",
"description": "A Nintendo GameCube and Wii emulator, with enhancements and Netplay. (development version)",
"license": "GPL-2.0-or-later",
"version": "5.0-14344",
"url": "https://dl.dolphin-emu.org/builds/06/aa/dolphin-master-5.0-14344-x64.7z",
"hash": "49b2019d46778887d91de591638d62defafe75eeb5d4d38288ee73f751ce693d",
"extract_dir": "Dolphin-x64",
"pre_install": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\User\" -ItemType Directory | Out-Null",
" if (Test-Path \"$env:USERPROFILE\\Documents\\Dolphin Emulator\") {",
" Write-host \"Migrating AppData...\" -ForegroundColor yellow",
" Copy-Item -Path \"$env:USERPROFILE\\Documents\\Dolphin Emulator\\*\" -Destination \"$persist_dir\\User\" -Recurse",
" Remove-Item -Path \"$env:USERPROFILE\\Documents\\Dolphin Emulator\" -Recurse",
" }",
"}"
],
"bin": "Dolphin.exe",
"shortcuts": [
[
"Dolphin.exe",
"Dolphin (Beta)"
]
],
"persist": "User",
"post_install": "Set-Content -Value $null -Path \"$dir\\portable.txt\"",
"checkver": {
"url": "https://dolphin-emu.org/download/",
"regex": "\\/(?<rand1>.{2})\\/(?<rand2>.{2})\\/dolphin-master-(?<major>[\\d\\.]+)-(?<build>[\\d]+)",
"replace": "${major}-${build}"
},
"autoupdate": {
"url": "https://dl.dolphin-emu.org/builds/$matchRand1/$matchRand2/dolphin-master-$matchMajor-$matchBuild-x64.7z"
}
}