I believe file permissions are usually supposed to be lost to ensure a new unknown program doesn't have permissions off the bat
they are not. permissions are not supposed to be lost like that. nwjs is shipped with the right permissions, then your archiver fails to preserve them on repacking.
I've generally just gone with the latest NW.JS when releasing on Linux, but perhaps I should stick to a slightly older one.
no need. switching to older runtime usually leads to crashes because chromium periodically updates it's database format in the game cache, and older versions can't work with that, requiring manually wiping the cache.
newer versions also tend to have better performance (including on windows).
the black screen issue is there because during the nwjs upgrade from 0.12 to 0.13 (all the way back in march 2016) - they deprecated a lot of stupid things, and now they have decided to remove these things for good. this causes some minor issues with badly outdated plugins, in this case www/js/plugins/SRD_GameUpgrade.js using wrong options when creating new window. it can be fixed by adding
JavaScript:
if (_isNewNWjs) {
// remove/rename deprecated values
const ws = _.windowSettings;
delete ws.toolbar;
ws.always_on_top = ws['always-on-top'];
delete ws['always-on-top'];
}
in there before
JavaScript:
//-----------------------------------------------------------------------------
// PIXI
//-----------------------------------------------------------------------------
also, 0.56.3 used nwjs 0.104.1, which is a bit outdated and has problems with canvas rendering mode, 0.106.1 seems to work better.