mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-27 17:00:53 +01:00
feat: ✨ Integrate scrcpy binaries for macos
This commit is contained in:
parent
3190d0d296
commit
85bf0961e5
@ -13,25 +13,13 @@
|
|||||||
{
|
{
|
||||||
"target": "nsis",
|
"target": "nsis",
|
||||||
"arch": ["x64", "arm64"]
|
"arch": ["x64", "arm64"]
|
||||||
},
|
|
||||||
{
|
|
||||||
"target": "zip",
|
|
||||||
"arch": ["x64", "arm64"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"target": "portable",
|
|
||||||
"arch": ["x64", "arm64"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"target": "appx",
|
|
||||||
"arch": ["x64", "arm64"]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"artifactName": "${productName}-${version}-win-${arch}.${ext}",
|
"artifactName": "${productName}-${version}-win-${arch}.${ext}",
|
||||||
"extraResources": {
|
"extraResources": {
|
||||||
"from": "electron/resources/extra",
|
"from": "electron/resources/extra",
|
||||||
"to": "extra",
|
"to": "extra",
|
||||||
"filter": ["common", "win"]
|
"filter": ["common", "win", "win-${arch}"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nsis": {
|
"nsis": {
|
||||||
@ -65,7 +53,7 @@
|
|||||||
"extraResources": {
|
"extraResources": {
|
||||||
"from": "electron/resources/extra",
|
"from": "electron/resources/extra",
|
||||||
"to": "extra",
|
"to": "extra",
|
||||||
"filter": ["common", "mac"]
|
"filter": ["common", "mac", "mac-${arch}"]
|
||||||
},
|
},
|
||||||
"x64ArchFiles": "Contents/Resources/extra/**/*",
|
"x64ArchFiles": "Contents/Resources/extra/**/*",
|
||||||
"entitlementsInherit": "entitlements.mac.plist",
|
"entitlementsInherit": "entitlements.mac.plist",
|
||||||
@ -96,7 +84,7 @@
|
|||||||
"extraResources": {
|
"extraResources": {
|
||||||
"from": "electron/resources/extra",
|
"from": "electron/resources/extra",
|
||||||
"to": "extra",
|
"to": "extra",
|
||||||
"filter": ["common", "linux"]
|
"filter": ["common", "linux", "linux-${arch}", "linux-${target}"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"asar": true,
|
"asar": true,
|
||||||
|
@ -5,8 +5,8 @@ export const getScrcpyPath = () => {
|
|||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
case 'win32':
|
case 'win32':
|
||||||
return extraResolve('win/scrcpy/scrcpy.exe')
|
return extraResolve('win/scrcpy/scrcpy.exe')
|
||||||
// case 'darwin':
|
case 'darwin':
|
||||||
// return extraResolve('mac/scrcpy/scrcpy')
|
return extraResolve(`mac-${process.arch}/scrcpy/scrcpy`)
|
||||||
// case 'linux':
|
// case 'linux':
|
||||||
// return extraResolve('linux/scrcpy/scrcpy')
|
// return extraResolve('linux/scrcpy/scrcpy')
|
||||||
default:
|
default:
|
||||||
|
BIN
electron/resources/extra/mac-arm64/scrcpy/adb
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/adb
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-arm64/scrcpy/icon.png
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/icon.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libSDL2-2.0.0.dylib
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libSDL2-2.0.0.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libavcodec.61.3.100.dylib
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libavcodec.61.3.100.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libavformat.61.1.100.dylib
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libavformat.61.1.100.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libavutil.59.8.100.dylib
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libavutil.59.8.100.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libswresample.5.1.100.dylib
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libswresample.5.1.100.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libusb-1.0.0.dylib
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/libs/libusb-1.0.0.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-arm64/scrcpy/scrcpy
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/scrcpy
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-arm64/scrcpy/scrcpy-server
Executable file
BIN
electron/resources/extra/mac-arm64/scrcpy/scrcpy-server
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-x64/scrcpy/adb
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/adb
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-x64/scrcpy/icon.png
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/icon.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libSDL2-2.0.0.dylib
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libSDL2-2.0.0.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libavcodec.61.3.100.dylib
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libavcodec.61.3.100.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libavformat.61.1.100.dylib
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libavformat.61.1.100.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libavutil.59.8.100.dylib
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libavutil.59.8.100.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libswresample.5.1.100.dylib
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libswresample.5.1.100.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libusb-1.0.0.dylib
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/libs/libusb-1.0.0.dylib
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-x64/scrcpy/scrcpy
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/scrcpy
Executable file
Binary file not shown.
BIN
electron/resources/extra/mac-x64/scrcpy/scrcpy-server
Executable file
BIN
electron/resources/extra/mac-x64/scrcpy/scrcpy-server
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user