Last active
August 8, 2019 22:17
-
-
Save zeke/97d3ee55e906bf20ca6430c9982b6e92 to your computer and use it in GitHub Desktop.
Create a standalone GitHub Gmail OS X client using electron nativefier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install -g node-icns nativefier | |
curl -o cat.png https://octodex.github.com/images/adventure-cat.png | |
nicns --in cat.png --out cat.icns | |
echo "console.log('whoa script injection')" > inject.js | |
nativefier --name "GitHub Gmail" --icon cat.icns --inject inject.js https://inbox.google.com | |
rm -rf /Applications/GitHub\ Gmail.app | |
mv GitHub\ Gmail-darwin-x64/GitHub\ Gmail.app /Applications/ | |
open /Applications/GitHub\ Gmail.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment