mirror of
https://github.com/ScoopInstaller/Extras.git
synced 2026-07-30 14:25:39 +08:00
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"version": "7.1",
|
|
"description": "Allows to use the Nintendo Switch Pro Controller, Joycons and SNES controller in various emulators or as generic XInput",
|
|
"homepage": "https://github.com/Davidobot/BetterJoy",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/Davidobot/BetterJoy/releases/download/v7.1/BetterJoy_v7.1.zip",
|
|
"hash": "a9ffe5bb14b05e775f34f9eeff41fca89a350d49252eedae1e330e88952e7f36"
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"'BetterJoyForCemu.exe.config', '3rdPartyControllers', 'settings' | ForEach-Object {",
|
|
" Copy-Item \"$persist_dir\\$_\" \"$dir\" -ErrorAction 'SilentlyContinue' -Force",
|
|
"}"
|
|
],
|
|
"uninstaller": {
|
|
"script": [
|
|
"ensure \"$persist_dir\" | Out-Null",
|
|
"'BetterJoyForCemu.exe.config', '3rdPartyControllers', 'settings' | ForEach-Object {",
|
|
" Copy-Item \"$dir\\$_\" \"$persist_dir\" -ErrorAction 'SilentlyContinue' -Force",
|
|
"}"
|
|
]
|
|
},
|
|
"shortcuts": [
|
|
[
|
|
"BetterJoyForCemu.exe",
|
|
"BetterJoy"
|
|
]
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/Davidobot/BetterJoy",
|
|
"jsonpath": "$.assets[?(@.name =~ /BetterJoy.+zip/i)].browser_download_url",
|
|
"regex": "(?i)download/(?<tag>[^/]+)/BetterJoy_v([\\d.]+)\\.zip"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/Davidobot/BetterJoy/releases/download/$matchTag/BetterJoy_v$version.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|