Home > Web Front-end > JS Tutorial > body text

node-webkit打包成exe文件被360误报木马的解决方法_node.js

WBOY
Release: 2016-05-16 16:10:26
Original
1696 people have browsed it

最近项目需要用到node-webkit。处理古老级用户的兼容以及他们心里的‘数据安全'问题。

1、下载完node-webkit

2、制作appName.nw文件

3、copy /b nw.exe+appName.nw  TestAppName.exe

到目前为止,目录下生成了TestAppName.exe文件 ,双击运行很完美。

但,直接将TestAppName.exe换个目录,却打不开。

google+百度的解决方案:使用Enigma Virtual Box工具,打包成exe文件。(Enigma Virtual Box 的使用方法请百度或Google)

好吧,的确可以了,但是…… 万恶的360杀毒软件竟然报病毒,而且无可救药~

于是乎继续百度+Google ……

好吧,废话少说,上方法 :

【3、copy /b nw.exe+appName.nw  TestAppName.exe】  这步操作完成后,去下载一个叫做Inno Setup Compiler的工具。

一直下一步(每一步都会有相应的参数和名称设置),直到下图:

第一个红框的就是用copy打包好的文件。第二个红框就是需要添加的依赖文件(必不可少)。

填完后,继续下一步~ 一直到最后。

成功!!!

以上就是本文所讲述的全部内容了,希望小伙伴们能够喜欢。

Related labels:
exe
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!