If I understand correctly, you extract nw.js and put it in the original Glassix directory? If that's the case, you are doing it wrong. You should move some of the files and directories from the original Glassix directory to the nw.js directory.
Well, I downloaded nwjs for Mac and it comes as a single container file "nwjs.app" that is 184 MB big (and a second file credits.html) and I placed it in the game directories (either before or after your install script was running). Yes, this is somewhat different, but all apps on Mac are like docker containers in the Linux world, i.e. with an internal container structure like:
A Mac user typically only sees a single "file-like" nwjs.app, not the internal container.
In a completely different approach, I also followed some suggestions from
You must be registered to see the links
(under "Merging them") by just moving the Glassix files to the Resources folder in the container and renaming "package.nw" to "app.nw". If I start nwjs.app I get the same outcome.
Also, in a second completely different approach, if I move a copy of nwjs.app into the application folder and create an alias
nw I can start the program from inside the game folder with terminal using
nw package.nw with the same outcome of the main screen.
BTW, if I remove the data folder from a windows Glassix installation, I get the same outcome if I start glassix.exe. So it really seems that it does not recognize the data folder and it might be a stupid little config problem. How can we see the contents of package.nw, because I can not open it in a texteditor at least.
I appreciate your effort
@Capacitor , but I think it would be easier to just use a Mac compiler for Construct, which should exist for at least Construct 3, and let it do its work. I know,
@Daedolon stated that
I use Construct 2 for Glassix