We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moved from discussion #66
The text was updated successfully, but these errors were encountered:
/Users/parroit/.nvm/versions/node/v9.5.0/bin/node /Users/parroit/repos/libui-node/examples/control-gallery.js&
can be replaced by
/Users/parroit/.nvm/versions/node/v9.5.0/bin/node "$(dirname $0)/../../../control-gallery.js"
But the main problem is that node is usually not in the default PATH (/usr/bin:/bin:/usr/sbin:/sbin)
/usr/bin:/bin:/usr/sbin:/sbin
PATH="/usr/local/bin:$PATH" node "$(dirname $0)/../../../control-gallery.js"
would solve it for me (I installed node with homebrew), but not when using nvm. It there something like ~/.nvm/current/bin/node or nvm path current?
~/.nvm/current/bin/node
nvm path current
A reminder for myself while we're at it: This shows "Control Gallery" instead of "node" in the menubar.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleName</key> <string>Control Gallery</string> </dict> </plist>
Sorry, something went wrong.
No branches or pull requests
moved from discussion #66
The text was updated successfully, but these errors were encountered: