From 37c3b476429355c346944e5caffac53f60a9e147 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Fri, 15 Jan 2016 20:33:52 +0100 Subject: gwt-chromium: make it working with some hacks --- .../resources/chrome-profile/bin/gwt-chrome-persistent | 5 +++-- .../resources/chrome-profile/bin/gwt-chrome-volatile | 9 ++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'packages/gwt-chromium/resources/chrome-profile') diff --git a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent index c0b2ef1..37dae28 100755 --- a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent +++ b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent @@ -8,5 +8,6 @@ fi chmod -R u+w "$profile" LD_LIBRARY_PATH="$HERE/../lib/chrome-support" \ "$HERE"/../chrome-linux/chrome \ - --auth-server-whitelist="*cern.ch" \ - --disable-setuid-sandbox --user-data-dir="$profile" $* + --auth-server-whitelist="*cern.ch" \ + --disable-setuid-sandbox \ + --user-data-dir="$profile" $* diff --git a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile index 99f2a21..ec39c1d 100755 --- a/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile +++ b/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-volatile @@ -10,7 +10,10 @@ test -e "$persistent_profile/Default/Bookmarks" && \ cp "$persistent_profile/Default/Bookmarks" "$tmp_profile/Default/Bookmarks" LD_LIBRARY_PATH="$HERE/../lib/chrome-support" \ - "$HERE/../chrome-linux/"/chrome \ - --auth-server-whitelist="*cern.ch" \ - --disable-setuid-sandbox --user-data-dir="$tmp_profile" $* + "$HERE"/../chrome-linux/chrome \ + --auth-server-whitelist="*cern.ch" \ + --disable-setuid-sandbox \ + --user-data-dir="$tmp_profile" $* + +# delete temporary profile after exit rm -r "$tmp_profile" -- cgit v1.2.1