brzpegasus / ember-cli-nwjs

An addon for building desktop apps with Ember and NW.js
MIT License
125 stars 17 forks source link

Can't get the toolbar to go away #46

Closed pjcarly closed 8 years ago

pjcarly commented 8 years ago

First of all, superb addon, thanks for the work.

Excuses for opening an issue, I read through the documentation and tried several options, but none of them seem to work.

I managed to get my Ember app built, but for some reason I can't get rid of the toolbar when running the .exe that nwjs built.

I created a nw-package.js file in the config folder, I tried a few variations of the file below, and according to the documentation I think this should be the file.

module.exports = {
  "name": "My App Name",
  'version': '0.12.2',
  "window": {
    "toolbar": false,
    "frame": false
  }
};

However, when running ember nw:package the exe created always has the toolbar. Am I doing something wrong?

Thanks for taking a look, Regards, pjcarly

johnhuffsmith commented 8 years ago

This goes in package.json, NOT in nw-package.js

"window": {
"toolbar": false,
"frame": false
  }
pjcarly commented 8 years ago

Cheers that was it!