-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sh
executable file
·23 lines (23 loc) · 1.6 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dirname=Ableton_Live_11_Suite
desktop=$(xdg-user-dir DESKTOP)
echo "Preparing the folder..."
mkdir ~/wol/Ableton_Live_11_Suite
echo "Installing all dependencies for Ableton Live 11 Suite and preparing all enviroments, Please wait..."
WINEARCH=win64 WINEPREFIX=~/wol/Ableton_Live_11_Suite winetricks d3dx9 dotnet35 dotnet452 dxvk gdiplusvcrun2019 corefonts tahoma vcrun6sp6
WINEARCH=win64 WINEPREFIX=~/wol/Ableton_Live_11_Suite winetricks win10
echo "Creating shortcut on your desktop, please don't open it until the installer finish its work"
cp ~/wol/Downloads/"Ableton Live Suite 11"/startup.sh ~/wol/Ableton_Live_11_Suite
cp ~/wol/Downloads/"Ableton Live Suite 11"/icon.png ~/wol/Ableton_Live_11_Suite
cp ~/wol/Downloads/"Ableton Live Suite 11"/ableton.desktop $desktop
cd ~/wol/Ableton_Live_11_Suite/drive_c
echo "Downloading Ableton Live 11 Suite, this depends on your internet connection speed, Please wait..."
wget https://cdn-downloads.ableton.com/channels/11.1.5/ableton_live_suite_11.1.5_64.zip -O ~/wol/Ableton_Live_11_Suite/drive_c/ableton.zip
mkdir ~/wol/Ableton_Live_11_Suite/drive_c/ableton11_installer
echo "Unzipping Ableton Live 11 Suite..."
unzip ~/wol/Ableton_Live_11_Suite/drive_c/ableton.zip -d ~/wol/Ableton_Live_11_Suite/drive_c/ableton11_installer
echo "The installer is ready to run"
WINEARCH=win64 WINEPREFIX=~/wol/Ableton_Live_11_Suite wine ~/wol/Ableton_Live_11_Suite/drive_c/ableton11_installer/"Ableton Live 11 Suite Installer.exe"
echo "Ableton Live 11 Suite" >> ~/wol/Ableton_Live_11_Suite/name.txt
echo "The installer is finished"
read -rsn1 -p"The installation is finished, Press any key to exit";echo
exit