Created
April 19, 2018 22:24
-
-
Save xaxxontech/08cae69215f4f53fab68d6363b8f51a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# link flash cookies to ram drive | |
export FLASHSODIRPREFIX="$HOME/.config/google-chrome/Default/Pepper Data/\ | |
Shockwave Flash/WritableRoot/#SharedObjects/" | |
export CODE=`ls "$FLASHSODIRPREFIX"` | |
export FLASHSODIR="$FLASHSODIRPREFIX$CODE/127.0.0.1/oculusPrime/flash" | |
if ! [ -a /run/shm/oculusPrimeFlashSO/* ]; then | |
rm -rf "$FLASHSODIR/oculusPrime_grabber.swf" | |
mkdir -p "/run/shm/oculusPrimeFlashSO/" | |
ln -s /run/shm/oculusPrimeFlashSO/ "$FLASHSODIR/oculusPrime_grabber.swf" | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment