Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

OneMuppet

3
Posts
A member registered Mar 17, 2015

Recent community posts

Good job! it's working on mac now, thx :)

Thx, I got it one step further with your fix. Now the app crashes when I created a new project, or click on "Quick Tour". It it related to the menu also "Item to be inserted into menu already is in another menu", some more details here:

2016-06-26 21:51:31.393 nwjs[4320:293985] *** Assertion failure in -[NSMenu insertItem:atIndex:], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1404.46/Menus.subproj/NSMenu.m:713

2016-06-26 21:51:31.394 nwjs[4320:293985] An uncaught exception was raised

2016-06-26 21:51:31.394 nwjs[4320:293985] Item to be inserted into menu already is in another menu

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,