summaryrefslogtreecommitdiffstats
path: root/abs/extra/google-chrome
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-09-07 18:07:33 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-09-07 18:07:33 (GMT)
commit9083b14f317c0e240fba14f85291ad11fd0fd530 (patch)
tree789025d7134a08ceb5cfaba8f135b8df802c7dde /abs/extra/google-chrome
parent40e4eb480fe0e4087d8a44561bde82a6f6f3dbb3 (diff)
downloadlinhes_pkgbuild-9083b14f317c0e240fba14f85291ad11fd0fd530.zip
linhes_pkgbuild-9083b14f317c0e240fba14f85291ad11fd0fd530.tar.gz
linhes_pkgbuild-9083b14f317c0e240fba14f85291ad11fd0fd530.tar.bz2
google-chrome: add in launcher file
Diffstat (limited to 'abs/extra/google-chrome')
-rw-r--r--abs/extra/google-chrome/google-chrome-stable9
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/extra/google-chrome/google-chrome-stable b/abs/extra/google-chrome/google-chrome-stable
new file mode 100644
index 0000000..b3b1e77
--- /dev/null
+++ b/abs/extra/google-chrome/google-chrome-stable
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Allow users to override command-line options
+if [[ -f ~/.config/chrome-flags.conf ]]; then
+ CHROME_USER_FLAGS="$(cat ~/.config/chrome-flags.conf)"
+fi
+
+# Launch
+exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS $@ \ No newline at end of file