Created
March 1, 2016 03:20
-
-
Save zwetan/24cf6b023d5451ff52b1 to your computer and use it in GitHub Desktop.
Redtamarin Prod Install script (Ubuntu 14.04.4 LTS 64-bit)
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 | |
# _____ _ _ __ __ __ | |
# / ___/__ _______ ___ ____ _(_)___ / |/ /__ / /__ _____ ____/ /__ ___ | |
# / /__/ _ \/ __(_-</ _ `/ _ `/ / __/ / / -_) __/ |/|/ / _ \/ __/ '_/(_-< | |
# \___/\___/_/ /___/\_,_/\_,_/_/_/ /_/|_/\__/\__/|__,__/\___/_/ /_/\_\/___/ | |
# --------------------------------------------------------------------------- | |
# date: 2016-02-26 | |
# desc: Make a full redtamarin install | |
# deps: Ubuntu 14.04.4 LTS | |
# note: this script need to be run as root | |
# Download as3shebang | |
wget https://github.com/Corsaair/as3shebang/releases/download/1.0.0/as3shebang_1.0.0_amd64.deb | |
# Install as3shebang | |
dpkg -i as3shebang_1.0.0_amd64.deb | |
# Download redtamarin-sdk | |
wget https://github.com/Corsaair/redtamarin/releases/download/0.4.1/redtamarin-sdk_0.4.1-1_amd64.deb | |
# Install redtamarin-sdk | |
dpkg -i redtamarin-sdk_0.4.1-1_amd64.deb | |
# Install binfmt-support | |
apt-get -y install binfmt-support | |
# Install Java (needed to compile with asc.jar) | |
apt-get -y install default-jdk | |
# Download bimfmt_misc support scripts | |
wget https://raw.githubusercontent.com/corsaair/redtamarin/master/extras/linux/install-as3run | |
wget https://raw.githubusercontent.com/corsaair/redtamarin/master/extras/linux/select-as3run | |
wget https://raw.githubusercontent.com/corsaair/redtamarin/master/extras/linux/install-abcrun | |
wget https://raw.githubusercontent.com/corsaair/redtamarin/master/extras/linux/select-abcrun | |
wget https://raw.githubusercontent.com/corsaair/redtamarin/master/extras/linux/install-swfrun | |
wget https://raw.githubusercontent.com/corsaair/redtamarin/master/extras/linux/select-swfrun | |
# Make executable | |
chmod +x install-as3run | |
chmod +x select-as3run | |
chmod +x install-abcrun | |
chmod +x select-abcrun | |
chmod +x install-swfrun | |
chmod +x select-swfrun | |
# Install .as3 .abc .swf extensions | |
./install-as3run | |
./install-abcrun | |
./install-swfrun | |
# move files to Redtamarin directory | |
mv install-* /usr/lib/redtamarin/run/ | |
mv select-* /usr/lib/redtamarin/run/ | |
# Create symlink | |
ln -s /usr/lib/redtamarin/run/select-as3run /usr/bin/select-as3run | |
ln -s /usr/lib/redtamarin/run/select-abcrun /usr/bin/select-abcrun | |
ln -s /usr/lib/redtamarin/run/select-swfrun /usr/bin/select-swfrun |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment