micc83 / Nuwk

Nuwk! makes it easy to create Mac Applications based on node-webkit, simplifying testing and building procedures. It takes care of creating the executable, attaching the app icon and configuring the plist file accordingly.
https://micc83.github.io/nuwk-doc/
106 stars 17 forks source link

Nuwk won't check in ~/Applications for node-webkit.app #2

Closed mrkev closed 10 years ago

mrkev commented 10 years ago

I know many users use primarily ~/Applications for their apps. Homebrew-cask in fact symlinks to ~/Applications when you use it to install node-webkit. It'd be nice if Nuwk also checked there for installations.

micc83 commented 10 years ago

Hi @mrkev Nuwk it's really in a early stage of development. It would be pointless to add homebrew support at this stage but you can easily edit Nuwk default behavior editing the models.js file in Nuwk!.app/Contents/Resources/app.nw/js/.

https://github.com/micc83/Nuwk/blob/master/js/models.js#L11

mrkev commented 10 years ago

Yeah, I found the config object in the source and I also symlinked back to /Applications. I'm not posting this for the sake of homebrew support but because afaik the ~/Applications folder, although optional, is a standard folder that's been there since 10.0 and is still widely used by many people. Homebrew also happens to use it, and I happen to have installed node-webkit using homebrew.

micc83 commented 10 years ago

Hi @mrkev. I get your point. As you probrably have seen mackwic is working on it already :smile:

mrkev commented 10 years ago

Yup, I saw @micc83 :) That's good news.

michahell commented 10 years ago

So is Nuwk! Now searching for ~/Applications as well? On a sidenote, how did you guys get a node-webkit symlink in ~/Applications? did cask do that for you, because it is not doing that for me weird enough!

micc83 commented 10 years ago

Hi @michahell, the latest merge it's indeed doing the check but it has still not been released. Homebrew-cask is supposed to symlink the application in the ~/Applications folder.

mackwic commented 10 years ago

@micc83 you should release a news version :)

michahell commented 10 years ago

Ok, thanks, I just did it manually but everything works fine now :)