iwuzhuo
V2EX  ›  Node.js

求助: Electron 在 Mac 上打包的 app 运行后立即退出

  •  
  •   iwuzhuo · Jul 7, 2017 · 5561 views
    This topic created in 3253 days ago, the information mentioned may be changed or developed.
    使用 electron-builder 打包 electron 的项目。打包正常,但是运行生成的 app 文件,启动后马上就退出了。

    如果进入到 app 里面, 运行 conents/MacOs/xxx 是可以运行的.

    求解。
    2 replies    2017-07-07 18:28:45 +08:00
    caniuse
        1
    caniuse  
       Jul 7, 2017
    你应该去 electron-builder 去问
    wodewone
        2
    wodewone  
       Jul 7, 2017
    Mac 还是 window ?
    打包成安装包呢?
    配置文件发一下?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   932 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 21:48 · PVG 05:48 · LAX 14:48 · JFK 17:48
    ♥ Do have faith in what you're doing.