53 lines
1.8 KiB
JSON
53 lines
1.8 KiB
JSON
{
|
|
"version": "0-1146",
|
|
"description": "Experimental emulator for the Nintendo Switch",
|
|
"homepage": "https://yuzu-emu.org/",
|
|
"license": {
|
|
"identifier": "GPL-2.0",
|
|
"url": "https://github.com/yuzu-emu/yuzu-mainline/blob/master/license.txt"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-1146/yuzu-windows-msvc-20220826-e927fd1c1.7z",
|
|
"hash": "3417dbfa07eac1fac982125323d97b9c218a4487c3528f2f3eee7dc2957cfd03"
|
|
}
|
|
},
|
|
"extract_dir": "yuzu-windows-msvc",
|
|
"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:APPDATA\\yuzu\") {",
|
|
" Write-host \"Migrating AppData...\" -ForegroundColor yellow",
|
|
" Copy-Item -Path \"$env:APPDATA\\yuzu\\*\" -Destination \"$persist_dir\\user\" -Recurse",
|
|
" Remove-Item -Path \"$env:APPDATA\\yuzu\" -Recurse",
|
|
" }",
|
|
"}"
|
|
],
|
|
"bin": [
|
|
"yuzu.exe",
|
|
"yuzu-cmd.exe"
|
|
],
|
|
"shortcuts": [
|
|
[
|
|
"yuzu.exe",
|
|
"Yuzu"
|
|
]
|
|
],
|
|
"persist": [
|
|
"user",
|
|
"plugins"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/yuzu-emu/yuzu-mainline",
|
|
"regex": "download/mainline-([\\d.-]+)/yuzu-windows-msvc-(?<date>[\\d]{8})-(?<commit>[\\da-f]+).7z"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-$version/yuzu-windows-msvc-$matchDate-$matchCommit.7z"
|
|
}
|
|
}
|
|
}
|
|
}
|