nwjs / grunt-nw-builder

Build NW.js applications for Mac, Windows and Linux using Grunt

Home Page:https://www.npmjs.com/package/grunt-nw-builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

options.mac_icns problem

perqa opened this issue · comments

Hello, this is a fantastic tool! Thanks for your efforts. I just want to report a small issue.

I'm experiencing a problem with options.mac_icns. For the Mac app, I get the default OSX icon, not the one I specified. The Windows app becomes invalid, it doesn't work at all after packing with Enigma. However, if I comment out the mac_icns row, both platforms work, but of course without the icon.

I wonder if I'm doing something wrong? Should the icon be in any particular directory? Currently I have

mac_icns: SRC+"img/logo.png"

where

var SRC = '/Users/per/Workspace/project/app/';

I added an example - in short: you have to have a valid icns icon file

Thanks, greatly appreciated.