在不自动启动的情况下安装 Electron 应用程序
Install Electron app without auto-launching
我正在使用 Electron-Builder NSIS 来捆绑我的 Electron 应用程序。当 运行 连接 bundle/executable 时,应用程序会安装并自动启动。如何防止应用程序自动启动?基本上是尝试进行静默安装,可以从命令行批量 运行。
在 Electron-Builder NSIS 文档中(link 你 post):
runAfterFinish = true Boolean - Whether to run the installed
application after finish. For assisted installer corresponding
checkbox will be removed.
我正在使用 Electron-Builder NSIS 来捆绑我的 Electron 应用程序。当 运行 连接 bundle/executable 时,应用程序会安装并自动启动。如何防止应用程序自动启动?基本上是尝试进行静默安装,可以从命令行批量 运行。
在 Electron-Builder NSIS 文档中(link 你 post):
runAfterFinish = true Boolean - Whether to run the installed application after finish. For assisted installer corresponding checkbox will be removed.