15 lines
702 B
Diff
15 lines
702 B
Diff
--- chromium-37.0.2062.120/chrome/tools/build/linux/chrome-wrapper.orig 2014-09-10 01:29:21.000000000 +0200
|
|
+++ chromium-37.0.2062.120/chrome/tools/build/linux/chrome-wrapper 2014-09-19 21:35:12.045745151 +0200
|
|
@@ -160,4 +160,10 @@
|
|
done
|
|
set -- "${ARGS[@]}" "$@"
|
|
|
|
-exec $CMD_PREFIX "$HERE/chrome" "$@"
|
|
+if [ -r /opt/chromium/PepperFlash/manifest.json ]; then
|
|
+ PEPPER_FLASH_VERSION="$(grep '"version":' /opt/chromium/PepperFlash/manifest.json | grep -Po '(?<=version": ")(?:\d|\.)*')"
|
|
+ exec $CMD_PREFIX "$HERE/chrome" \
|
|
+ --ppapi-flash-path=/opt/chromium/PepperFlash/libpepflashplayer.so --ppapi-flash-version=${PEPPER_FLASH_VERSION} "$@"
|
|
+else
|
|
+ exec $CMD_PREFIX "$HERE/chrome" "$@"
|
|
+fi
|