Created
January 31, 2017 19:54
-
-
Save IBwWG/c6cf52c68ccd73c8cc48374da009e29d to your computer and use it in GitHub Desktop.
An update to Joshua Granick's installer from 2012: http://www.joshuagranick.com/2012/04/25/how-to-install-the-standalone-flash-player-on-linux/
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/sh | |
echo "" | |
echo "-----------------------------------" | |
echo " Installing Flash Debugger" | |
echo "-----------------------------------" | |
wget -c https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux64/flash_player_sa_linux_debug.x86_64.tar.gz | |
tar xvzf flash_player_sa_linux_debug.x86_64.tar.gz | |
rm flash_player_sa_linux_debug.x86_64.tar.gz | |
# Copying to /usr/lib | |
sudo mkdir -p /usr/lib/flashplayer | |
sudo mv flashplayerdebugger /usr/lib/flashplayer/flashplayerdebugger | |
# Adding symlinks | |
sudo rm -rf /usr/bin/flashplayerdebugger | |
sudo ln -s /usr/lib/flashplayer/flashplayerdebugger /usr/bin/flashplayerdebugger | |
# Creating a *.desktop entry | |
echo "[Desktop Entry] | |
Name=Flash Player Debugger | |
Exec=/usr/lib/flashplayer/flashplayerdebugger %U | |
MimeType=application/swf-flash;application/x-shockwave-flash; | |
Terminal=false | |
Type=Application | |
Categories=GTK;GNOME;AudioVideo;Player;Video;" > flashplayerdebugger.desktop | |
sudo mv flashplayerdebugger.desktop /usr/share/applications/flashplayerdebugger.desktop | |
sudo update-desktop-database | |
echo "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment