Skip to content

Instantly share code, notes, and snippets.

@Maarten86
Created December 20, 2013 15:35
Show Gist options
  • Save Maarten86/8056449 to your computer and use it in GitHub Desktop.
Save Maarten86/8056449 to your computer and use it in GitHub Desktop.
mount -o remount, rw /
cd /opt/
#mp3,mp4
cp /opt/chrome-unstable/opt/google/chrome-unstable/libffmpegsumo.so /usr/lib/cromo/ -f
cp /opt/chrome-unstable/opt/google/chrome-unstable/libffmpegsumo.so /opt/google/chrome/ -f
cp /opt/chrome-unstable/opt/google/chrome-unstable/libffmpegsumo.so /usr/lib/mozilla/plugins/ -f
#pdf
cp /opt/chrome-unstable/opt/google/chrome-unstable/libpdf.so /opt/google/chrome/ -f
#flash
cp /opt/chrome-unstable/opt/google/chrome-unstable/PepperFlash/libpepflashplayer.so /opt/google/chrome/pepper/ -f
cp /opt/chrome-unstable/opt/google/chrome-unstable/PepperFlash/manifest.json /opt/google/chrome/pepper/ -f
cat > "/opt/google/chrome/pepper/pepper-flash.info" << EOF
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Registration file for Pepper Flash player.
FILE_NAME=/opt/google/chrome/pepper/libpepflashplayer.so
PLUGIN_NAME="Shockwave Flash"
VERSION="11.9.900.117"
VISIBLE_VERSION="11.9 r900"
DESCRIPTION="$PLUGIN_NAME $VISIBLE_VERSION"
MIME_TYPES="application/x-shockwave-flash"
EOF
rm -rf chrome-unstable
env-update
restart ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment