I exported a game out of Construct 2 using their NWJS exporter. I need to distribute this game to a client who is not very technically adept to put it nicely. I think he would be able to run an exe-file by double-clicking it, but for example extracting a zip-file is probably too much to ask.
我用他们的NWJS导出器从构建2中导出了一款游戏。我需要把这款游戏分发给一个技术上不是很熟练的客户。我认为他可以通过双击一个exe文件来运行它,但例如解压一个压缩文件可能要求太高了。
Is it possible to somehow distribute the result as a single executable file?
有没有可能以某种方式将结果作为单个可执行文件分发?
Here's what the folder that Construct made contains:
下面是构造生成的文件夹包含的内容:
locales (folder)
d3dcompiler_47.dll
debug.log
dxwebsetup.exe
icudtl.dat
libEGL.dll
libEGLSv2.dll
natives_blob.bin
node.dll
nw.dll
nw.exe
nw_100_percent.pak
nw_200_percent.pak
nw_elf.dll
package.nw
resources.pak
更多回答
优秀答案推荐
Yes, use enigma virtual box or something similar. It can pack app into standalone app.exe with all files, libraries, etc.
是的,使用Enigma虚拟盒子或类似的东西。它可以将应用程序与所有文件、库等一起打包到独立的app.exe中。
Checkout How to package and distribute your apps on the NW.js official wiki
查看如何在NW.js官方维基上打包和分发您的应用程序
There are a few methods there covering not only windows.
有几种方法不仅覆盖窗户。
更多回答
我是一名优秀的程序员,十分优秀!