Skip to content

Instantly share code, notes, and snippets.

@ayltai
Created March 10, 2020 04:38
Show Gist options
  • Save ayltai/2fde45edc44ff4a93bf7ea17aded4682 to your computer and use it in GitHub Desktop.
Save ayltai/2fde45edc44ff4a93bf7ea17aded4682 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd "`dirname "$0"`"
echo 'Downloading VirtualBox - A hypervisor for x86 virtualization...'
wget https://download.virtualbox.org/virtualbox/6.1.4/VirtualBox-6.1.4-136177-OSX.dmg
echo 'Downloading VirtualBox Extension Pack - Extends the functionality of VirtualBox...'
wget https://download.virtualbox.org/virtualbox/6.1.4/Oracle_VM_VirtualBox_Extension_Pack-6.1.4.vbox-extpack
echo 'Downloading Genymotion - An x86 Android emulator...'
wget https://dl.genymotion.com/releases/genymotion-3.0.4/genymotion-3.0.4.dmg
echo 'Download Live NetTV App...'
wget https://www.livenettv.vip/livenettvapp.apk
echo 'Installing VirtualBox...'
hdiutil attach ./VirtualBox-6.1.4-136177-OSX.dmg
sudo installer -package /Volumes/VirtualBox/VirtualBox.pkg -target /
hdiutil detach /Volumes/VirtualBox
rm -f ./VirtualBox-6.1.4-136177-OSX.dmg
echo 'Installing VirtualBox Extension Pack...'
VBoxManage extpack install --replace ./Oracle_VM_VirtualBox_Extension_Pack-6.1.4.vbox-extpack --accept-license=56be48f923303c8cababb0bb4c478284b688ed23f16d775d729b89a2e8e5f9eb
rm -f ./Oracle_VM_VirtualBox_Extension_Pack-6.1.4.vbox-extpack
echo 'Installing Genymotion...'
hdiutil attach ./genymotion-3.0.4.dmg
sudo cp -R /Volumes/genymotion-3.0.4-rc2/Genymotion.app /Applications
hdiutil detach /Volumes/genymotion-3.0.4-rc2
rm -f ./genymotion-3.0.4.dmg
echo 'Done! Please continue with the manual steps to install Live NetTV App.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment