Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hmmm I cannot get this working on mac:

if I run my nwjs project without the zipped Painted Of Persia it will just run the default start screen of nwjs so the setup seems legit. But if I add the zipped Paint of persia folder to as app.nw to Contens/Resources/app.nw. It will exit with this stacktrace:

I had to remove somethings because it was too long I've just added (...) where I've removed part of the call stack.

2016-06-25 08:45:29.725 nwjs[3177:224112] NSWindow warning: adding an unknown subview: <WebContentsViewCocoa: 0x7f91e9ce1360>. Break on NSLog to debug.

2016-06-25 08:45:29.727 nwjs[3177:224112] Call stack:

(...)

2016-06-25 08:45:29.920 nwjs[3177:224112] +[NSMenu menu]: unrecognized selector sent to class 0x7fff76e0e4a8

2016-06-25 08:45:29.921 nwjs[3177:224112] An uncaught exception was raised

2016-06-25 08:45:29.921 nwjs[3177:224112] +[NSMenu menu]: unrecognized selector sent to class 0x7fff76e0e4a8

2016-06-25 08:45:29.921 nwjs[3177:224112]

(...)

2016-06-25 08:45:29.922 nwjs[3177:224112] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSMenu menu]: unrecognized selector sent to class 0x7fff76e0e4a8'

*** First throw call stack:

(...)

libc++abi.dylib: terminating with uncaught exception of type NSException

Abort trap: 6

extensions::sendRequest:157

return natives.StartRequestSync(functionName,

Hi,

Thank you to try this on mac!

I had coded something "just in case" for the mac menubar, but never tested it. It was a bad idea.

I upload a new version without this (you should have the default nwjs menubar, but this doesn't matter...)