Skip to content

Instantly share code, notes, and snippets.



Last active Aug 4, 2019
What would you like to do?
Nativefier installer (Node.js + HomeBrew)
brew install 'nvm'
if ! grep -qs 'source $(brew --prefix nvm)/' ~/.bash_profile; then
printf 'export PATH="$PATH:/usr/local/lib/node_modules"\n' >> ~/.bash_profile
printf 'source $(brew --prefix nvm)/\n' >> ~/.bash_profile
source $(brew --prefix nvm)/
nvm install "$NODE_VERSION"
println "Setting $NODE_VERSION as the global default nodejs..."
nvm alias default "$NODE_VERSION"
npm install nativefier -g
nativefier "Trello" --name "Trello" --icon trello-icon.png
nativefier "Google Maps" --name "Google Maps" --icon
nativefier "WhatsApp" --name "WhatsApp" --icon
nativefier "Messenger" --name "Messenger" --icon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.