Code Monkey home page Code Monkey logo

Comments (16)

evshiron avatar evshiron commented on July 17, 2024

May I know what nw.js version and architecture you are using? And are they different from your Mac?
I am a Yosemite user too. Darwin builds have no chance to merge app.nw, people make Darwin nw.js application by putting the directory in the nwjs.app package, so the building shouldn't break the application.

from nwjs-builder.

MichalMisiaszek avatar MichalMisiaszek commented on July 17, 2024

Hi,
nwsd --version
nwjs 50.0.2661.102

The architecture I set was osx64 and I am on Yosemite, should work fine. In the end I crated app putting directory in app.nw inside as recommended. So this cannot work on OSX (Darwin) ?

Regards

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

Hmm, strange.
Could you upload a mini sample which is able to reproduce this situation, as well as the versions of node.js, npm and nw.js (I believe the "50.0.2661.102" you said before is the version of the built-in Chromium, not nw.js itself)?

from nwjs-builder.

MichalMisiaszek avatar MichalMisiaszek commented on July 17, 2024

I am using nwsd.io web toolkit which comes with all other tools. At the moment version 0.16, 0.16-sdk
I will try to make app to check it over the weekend, for the moment I created package manually and it works.

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

I didn't hear of nwsd.io before, nor Google gives me any results.

from nwjs-builder.

MichalMisiaszek avatar MichalMisiaszek commented on July 17, 2024

Sorry, I meant nwjs.io.

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

@MichalMisiaszek Hey friend. I have run the tests for nw.js 0.16.0 and it works well. Do you have a sample or steps on how to reproduce it?

from nwjs-builder.

MichalMisiaszek avatar MichalMisiaszek commented on July 17, 2024

Hello,
I tested again with 0.16.0.and I confirm it works on OSX creating correct distribution for osx64, win32 and linux64 (the one I tested). I am still testing --production flag, and I don't fully understand --side-by-side option.
Thanks !

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

@MichalMisiaszek Thanks for your response!
Q: --side-by-side?
A: See Package and Distribute#package-your-app.
nwjs-builder will use "Option 2" by default, and use "Option 1" when --side-by-side is provided.

Q: --production?
A: See package.json#devDependencies.
As you know, there might be dependencies which are only required in development (e.g. webpack). With --production, nwjs-builder will not copy original node_modules and install dependencies according to package.json, without devDependencies.

from nwjs-builder.

MichalMisiaszek avatar MichalMisiaszek commented on July 17, 2024

Thanks, I think there is small issue when building for linux but I will check it. Seems like not all dependencies are included in distribution package.

from nwjs-builder.

MichalMisiaszek avatar MichalMisiaszek commented on July 17, 2024

I am trying to use option --win-ico on OSX but icon is not replaced, I installed WINE.

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

@MichalMisiaszek Could you post the logs?

from nwjs-builder.

MichalMisiaszek avatar MichalMisiaszek commented on July 17, 2024

Where I can find them ? The log printed on screen during execution ?
I installed script on Windows and build package and it worked with exception that directory specified in package.jason "files": was not included. On OSX everything from app directory is included in Resources.

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

@MichalMisiaszek Yes. And yes, at the moment nwjs-builder doesn't respect the files field in package.json, instead it packs the contents of the given directory.

from nwjs-builder.

MichalMisiaszek avatar MichalMisiaszek commented on July 17, 2024

On OS X it copies full content of directory. For Windows it copies only essencial files.

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

I don't think there is such strategy. If you consider this an issue, feel free to open a new issue and provide enough information (including a sample) so that things can be quickly fixed.

from nwjs-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.