scoop-games/bucket/dolphin.json

42 lines
1.6 KiB
JSON

{
"version": "5.0",
"description": "A Nintendo GameCube and Wii emulator, with enhancements and Netplay.",
"homepage": "https://dolphin-emu.org/",
"license": {
"identifier": "GPL-2.0-or-later",
"url": "https://github.com/dolphin-emu/dolphin/blob/master/COPYING"
},
"suggest": {
"Microsoft Visual C++ Runtime 2019": "extras/vcredist2019"
},
"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",
" 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",
" }",
"}"
],
"post_install": "Set-Content -Value $null -Path \"$dir\\portable.txt\"",
"bin": "Dolphin.exe",
"shortcuts": [
[
"Dolphin.exe",
"Dolphin"
]
],
"persist": "User",
"checkver": {
"url": "https://dolphin-emu.org/download/",
"regex": "https://dl-mirror.dolphin-emu.org/([\\d.]+)/dolphin-x64"
},
"autoupdate": {
"url": "https://dl-mirror.dolphin-emu.org/$version/dolphin-x64-$version.exe#/dl.7z"
}
}