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-15993",
"url": "https://dl.dolphin-emu.org/builds/25/4a/dolphin-master-5.0-15993-x64.7z",
"hash": "ae6ee2d6252b3e4745128fd6957308320c3c13d68a47d995dcf84e1d7d390895",
"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"
}
}