2023-03-12 04:29:51 +00:00

50 lines
1.6 KiB
JSON

{
"version": "2.0",
"description": "Display and control your Android device",
"homepage": "https://github.com/Genymobile/scrcpy",
"license": "Apache-2.0",
"depends": "adb",
"architecture": {
"64bit": {
"url": "https://github.com/Genymobile/scrcpy/releases/download/v2.0/scrcpy-win64-v2.0.zip",
"hash": "ae4c8d37a496b43f8974ba8f07f708e22a9570ba0cddc3dc3a36edbccd4d2a20",
"extract_dir": "scrcpy-win64-v2.0"
},
"32bit": {
"url": "https://github.com/Genymobile/scrcpy/releases/download/v2.0/scrcpy-win32-v2.0.zip",
"hash": "15d98c02cb0e0bbd84f8b5d54991e0f6925569b1286a86a40743944fcb1c2d8c",
"extract_dir": "scrcpy-win32-v2.0"
}
},
"pre_install": "if (Test-Path \"$dir\\adb.exe\") { Remove-Item \"$dir\\adb.exe\" }",
"bin": [
"scrcpy.exe",
"scrcpy-console.bat",
"scrcpy-noconsole.vbs"
],
"shortcuts": [
[
"scrcpy-noconsole.vbs",
"scrcpy",
"",
"scrcpy.exe"
]
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Genymobile/scrcpy/releases/download/v$version/scrcpy-win64-v$version.zip",
"extract_dir": "scrcpy-win64-v$version"
},
"32bit": {
"url": "https://github.com/Genymobile/scrcpy/releases/download/v$version/scrcpy-win32-v$version.zip",
"extract_dir": "scrcpy-win32-v$version"
}
},
"hash": {
"url": "$baseurl/SHA256SUMS.txt"
}
}
}