ScoopInstaller_Main/scrcpy.json
2018-08-09 18:01:50 +00:00

39 lines
1.4 KiB
JSON

{
"homepage": "https://github.com/Genymobile/scrcpy",
"description": "Display and control your Android device",
"license": "Apache-2.0",
"version": "1.3",
"architecture": {
"64bit": {
"url": "https://github.com/Genymobile/scrcpy/releases/download/v1.3/scrcpy-win64-v1.3.zip",
"hash": "0768a80d3d600d0bbcd220ca150ae88a3a58d1fe85c308a8c61f44480b711e43",
"extract_dir": "scrcpy-win64"
},
"32bit": {
"url": "https://github.com/Genymobile/scrcpy/releases/download/v1.3/scrcpy-win32-v1.3.zip",
"hash": "51a2990e631ed469a7a86ff38107d517a91d313fb3f8327eb7bc71dde40870b5",
"extract_dir": "scrcpy-win32"
}
},
"depends": "adb",
"post_install": "if(Test-Path(\"$dir\\adb.exe\")) { Remove-Item \"$dir\\adb.exe\" }",
"bin": "scrcpy.exe",
"env_set": {
"SCRCPY_SERVER_PATH": "$dir\\scrcpy-server.jar"
},
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Genymobile/scrcpy/releases/download/v$version/scrcpy-win64-v$version.zip"
},
"32bit": {
"url": "https://github.com/Genymobile/scrcpy/releases/download/v$version/scrcpy-win32-v$version.zip"
}
},
"hash": {
"url": "$baseurl/SHA256SUMS.txt"
}
}
}