Git Product home page Git Product logo

Comments (13)

Tomotoes avatar Tomotoes commented on May 25, 2024

我已更新了 针对此问题的打包配置, 您可以再重新下载项目 试试~

from scrcpy-gui.

stormrise avatar stormrise commented on May 25, 2024

👌,重新pull了之后打包, 新的错误,大佬能帮忙看一下么,npm新手

• signing file=build/mac/ScrcpyGui.app identityName=Mac Developer: [email protected] (3SM8GDDPRR) identityHash=4D940548B7E04D4F581AA13705CF4BB466AD8836 provisioningProfile=none
Error: Command failed: spctl --assess --type execute --verbose --ignore-cache --no-cache /Users/stormrise/Documents/GitHub/scrcpy-gui/build/mac/ScrcpyGui.app
/Users/stormrise/Documents/GitHub/scrcpy-gui/build/mac/ScrcpyGui.app: rejected

at ChildProcess.exithandler (child_process.js:295:12)
at ChildProcess.emit (events.js:203:13)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

From previous event:
at MacPackager.sign (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/macPackager.ts:122:97)
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/macPackager.ts:317:21
at go$readdir$cb (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/graceful-fs/graceful-fs.js:187:14)
at FSReqCallback.oncomplete (fs.js:153:23)
From previous event:
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/macPackager.ts:315:27
at Generator.next ()
From previous event:
at MacPackager.signApp (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/macPackager.ts:312:73)
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/platformPackager.ts:250:16
at Generator.next ()
at processImmediate (internal/timers.js:439:21)
From previous event:
at MacPackager.doPack (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/platformPackager.ts:167:165)
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/macPackager.ts:90:63
at Generator.next ()
From previous event:
at MacPackager.pack (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/macPackager.ts:82:95)
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/packager.ts:430:24
at Generator.next ()
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/fs-extra-p/node_modules/fs-extra/lib/mkdirs/mkdirs.js:56:16
at callback (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/graceful-fs/polyfills.js:295:20)
at FSReqCallback.oncomplete (fs.js:166:5)
From previous event:
at Packager.doBuild (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/packager.ts:396:24)
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/packager.ts:366:57
at Generator.next ()
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/graceful-fs/graceful-fs.js:136:16
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/graceful-fs/graceful-fs.js:57:14
at FSReqCallback.oncomplete (fs.js:153:23)
From previous event:
at Packager._build (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/packager.ts:335:133)
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/packager.ts:331:23
at Generator.next ()
at processImmediate (internal/timers.js:439:21)
From previous event:
at Packager.build (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/packager.ts:288:14)
at build (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/app-builder-lib/src/index.ts:59:28)
at build (/Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/electron-builder/src/builder.ts:228:10)
at /Users/stormrise/Documents/GitHub/scrcpy-gui/node_modules/electron-builder/src/cli/cli.ts:49:19
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: node .electron-vue/build.js && electron-builder
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

from scrcpy-gui.

stormrise avatar stormrise commented on May 25, 2024

噗,还是说我没有权限去sign,我发现打包出来了

from scrcpy-gui.

Tomotoes avatar Tomotoes commented on May 25, 2024

谢谢~ 打包后的程序可以正常运行吗?

from scrcpy-gui.

stormrise avatar stormrise commented on May 25, 2024

待我一会测试一下,如果可以的话,发你邮箱

from scrcpy-gui.

Tomotoes avatar Tomotoes commented on May 25, 2024

from scrcpy-gui.

stormrise avatar stormrise commented on May 25, 2024

Screen Shot 2019-09-10 at 9 19 54 PM

首先发现了一个BUG,这个图标拉伸得巨大, 然后还是有点问题,用的miui,但是直接adb connect能行,mirror不行,暂时没有找到是何种原因

from scrcpy-gui.

Tomotoes avatar Tomotoes commented on May 25, 2024

啊...

from scrcpy-gui.

stormrise avatar stormrise commented on May 25, 2024

plus,这个退出好像有点问题

from scrcpy-gui.

stormrise avatar stormrise commented on May 25, 2024

Screen Shot 2019-09-10 at 9 53 30 PM

maybe是这个原因?

···
2019-09-10 21:52:17.127 scrcpy[88809:20729511] INFO: scrcpy 1.10 https://github.com/Genymobile/scrcpy
adb: error: failed to get feature set: device offline
2019-09-10 21:52:17.133 scrcpy[88809:20729511] ERROR: "adb push" returned with value 1
···

不好意思我仔细看了一下这个要plug上电脑

from scrcpy-gui.

AshHuang avatar AshHuang commented on May 25, 2024

MacOS下打包出来了,能正常打开程序,链接设备也正常,但是不出现设备镜像的界面,直接运行scrcpy命令行是可以的
WechatIMG594
退出有问题,卡死在任务栏

from scrcpy-gui.

Tomotoes avatar Tomotoes commented on May 25, 2024

可能是创建进程在 macos 上 有权限问题

from scrcpy-gui.

skyeryg avatar skyeryg commented on May 25, 2024

src/main/scrcpy/index.js 51行修改为
const scrcpy = spawn('scrcpy', [...args, '-s', `${id}`])

from scrcpy-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.