running nw.js export on linux, on linux

  • Hello,

    I wrote a little program with C3 and the nw.js plugin and exported it to linux64. I now want to run it on ubuntu, but have no idea how to run it. I have the zip file, and uncompressed it and got all kind of files in there. I also installed node.js on ubuntu but am unsure how to run something with it ...

    Any instructions would be much appreciated.

    thank you,

    Dan

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • chmod your file game executable, because on linux run executable need permission. Execute permission type on terminal:

    only for current user permission

    chmod u+x your_game_executable

    for all user permission

    chmod a+x your_game_executable

  • thanks.

    Eventually, I found (after some searching) that the following worked --

    after installing nw.js in ubuntu

    ./nw package.nw

    in the folder that included the unzipped files

    i guess, nw was already an executable as you indicated.

    thank you,

    Dan

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)