Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electron打包后的app,在win7的某些电脑。。。 #3

Open
vtxf opened this issue Nov 15, 2019 · 0 comments
Open

electron打包后的app,在win7的某些电脑。。。 #3

vtxf opened this issue Nov 15, 2019 · 0 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@vtxf
Copy link
Collaborator

vtxf commented Nov 15, 2019

@acound
问题:
electron打包后的app,在win7的某些电脑(非管理员的情况下有一定概率出现)双击软件安装后生成的快捷方式,然后啥事情也没有发生,但是打开控制台可以看到应用的进程启动一下然后快速被关掉。

解决方法:

  1. 方法一:卸载重新安装,注意用管理员模式安装,同时关闭杀毒软件。有些情况下因为杀毒软件的原因把软件的某些文件删掉造成无法启动,用管理员模式启动软件;
  2. 方法二:软件的兼容性问题,可能是有些电脑的系统比较古老,和electron有兼容性问题,更新electron版本比较容易有其他问题,解决方法是以兼容模式启动运行软件。步骤如下:
    第一步,把鼠标放在快捷方式的图标上,右击选择--属性--选项
    第二步, 点击兼容性,把-- 以兼容模式运行这个程序--打勾,然后下面下拉选择你当前系统的类型。然后点击确定,最后重开软件。
@vtxf vtxf added documentation Improvements or additions to documentation question Further information is requested labels Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant