scoop-games/bucket/dolphin.json

36 lines
1.5 KiB
JSON

{
"homepage": "https://dolphin-emu.org/",
"description": "A Nintendo GameCube and Wii emulator, with enhancements and Netplay.",
"license": "GPL-2.0-or-later",
"version": "5.0",
"url": "https://dl-mirror.dolphin-emu.org/5.0/dolphin-x64-5.0.exe#/dolphin.lzma",
"hash": "e1b3ae8fc890c6588e5656f77ef2747ae7ddfc90b6530b240c0c5b9d0ab3ce8c",
"pre_install": [
"if (!(Test-Path \"$persist_dir\")) {",
" New-item \"$persist_dir\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\User\" -ItemType Directory | Out-Null",
" New-item \"$persist_dir\\portable.txt\" -ItemType File | 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"
]
],
"persist": "User",
"checkver": {
"url": "https://dolphin-emu.org/download/",
"regex": "dolphin-emu\\.org\\/(?<version>[\\d\\.]+)\\/"
},
"autoupdate": {
"url": "https://dl-mirror.dolphin-emu.org/$version/dolphin-x64-$version.exe#/dolphin.lzma"
}
}