Archive for Januar 2019
Launch Chromium with API Keys on Mac OS X
Here is my work-around:-
1)mv /Applications/Chromium.app/Contents/MacOS/Chromium /Applications/Chromium.app/Contents/MacOS/Chromium_bin
2)I have created a script and placed it inside /Applications/Chromium.app/Contents/MacOS/ with name Chromium, recheck in getinfo once:-
#!/bin/bash
# Set up environment variables
export GOOGLE_API_KEY=""
export GOOGLE_DEFAULT_CLIENT_ID=""
export GOOGLE_DEFAULT_CLIENT_SECRET=""
# Launch Chromium
/Applications/Chromium.app/Contents/MacOS/Chromium_bin
- Give it +x permission
It is working fine.
- I have made another script in icloud to restore above setting after every version update
Source: https://gist.github.com/cvan/44a6d60457b20133191bd7b104f9dcc4#gistcomment-2013573