Skip to content

Instantly share code, notes, and snippets.

@davidschlachter
Created April 26, 2016 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidschlachter/0ff9b0119cf5d8ef05acca9f8f429cab to your computer and use it in GitHub Desktop.
Save davidschlachter/0ff9b0119cf5d8ef05acca9f8f429cab to your computer and use it in GitHub Desktop.
Chromium launcher for OS X with environment variables
#!/bin/bash
# Set up environment variables
export GOOGLE_API_KEY=your_api_key
export GOOGLE_DEFAULT_CLIENT_ID=your_client_id
export GOOGLE_DEFAULT_CLIENT_SECRET=your_client_secret
# Launch Chromium
/Applications/Chromium.app/Contents/MacOS/Chromium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment