Stuff crashing? Can't get through the install process? Ask your Questions here!
HTML goes in, games come out. · By
not working on windows 10:
Running "nwjs:desktop" (nwjs) task
Using v0.22.3 (sdk)
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Using cache for: win32
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Using cache for: win64
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Downloading: http://dl.nwjs.io/v0.22.3/nwjs-sdk-v0.22.3-osx-x64.zip
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Using cache for: linux32
Create cache folder in C:\DEV\htmle\cache\0.22.3-sdk
Using cache for: linux64
downloading [====================] 100% 0.0s
Unhandled rejection Error: EPERM: operation not permitted, symlink 'C:\DEV\htmle\cache\0.22.3-sdk\osx64\nwjs-sdk-v0.22.3-osx-x64\nwjs.app\Contents\Versions\58.0.3029.110\nwjs Framework.framework\Versions\Current\Helpers' -> 'C:\DEV\htmle\cache\0.22.3-sdk\osx64\nwjs-sdk-v0.22.3-osx-x64\nwjs.app\Contents\Versions\58.0.3029.110\nwjs Framework.framework\Helpers'
at Error (native)
error on osx stuff, nothing built at all.
also, grunt exits straightaway. had to modify the bat file:
call grunt desktop
pause
...
tried on linux mint:
Unhandled Exception:
System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\doh\Local Settings\Application Data\Anolis\Exceptions.log".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at Anolis.Resourcer.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\users\doh\Local Settings\Application Data\Anolis\Exceptions.log".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at Anolis.Resourcer.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Fatal error: Error while updating the Windows icon. Wine (winehq.org) must be installed to add custom icons from Mac and Linux.
wine is installed and up to date. but there's no "anolis" dir in there indeed.
the linux build shows a grey window with 'nw.js" in black (unfinished build?)
yes, running as admin. not sure there's more I can say, "symlink" problem on windows (should be mklink?), "anolis" not present in wine on linux.
the unpractical thing is that it stops at any error and doesn't build anything at all. maybe each build should be treated separately? also it boldly stops when you're offline, even if the cached files are still there and good to go (got isp problems). all in all it seems to only work well when nothing goes wrong ;)
in the end I disabled the non-working builds so I can build for windows/linux on windows, and for linux/mac on linux. I haven't tested the resulting mac build yet, but the others work ok. the only bummer is that I get 200Mb+ worth of files for a 700kb web game. but that's another story ;)
hi! this is a really cool tool - thanks for making it :)
I've encountered a few issues though; let me know if you have any thoughts on how to solve them! (I'm on Mac btw)
1. Just want to note that the symlink error is still a problem for me. I couldn't launch the generated .app file at all at first. I went back to version 0.21.6 of nwjs and that seemed to fix that.
2. My icon files aren't being associated with the app. It just has a generic icon. I've created the icons in the 3 formats and named them all appIcon.* but it seems as though they aren't being picked up?
3. When I load the generated .app, it starts as a blank white window. I have to right click and "reload app" before it will display the web page. An odd detail is that I can hover around the blank white page and see the tooltips for the html elements.. they just aren't visible.