Update fusion360-install.sh

This commit is contained in:
Steve Zabka
2021-06-26 12:31:06 +02:00
committed by GitHub
parent 7d4516b19f
commit 65d8e98dc4

View File

@@ -4,8 +4,8 @@
# Description: With this file you can install Autodesk Fusion 360 on Linux. # Description: With this file you can install Autodesk Fusion 360 on Linux.
# Author: Steve Zabka # Author: Steve Zabka
# Author URI: https://cryinkfly.de # Author URI: https://cryinkfly.de
# Time/Date: 22:15/21.05.2021 # Time/Date: 12:30/26.06.2021
# Version: 0.8 # Version: 0.9
# 1. Step: Open a Terminal and run this command: cd Downloads && chmod +x fusion360-install.sh && bash fusion360-install.sh # 1. Step: Open a Terminal and run this command: cd Downloads && chmod +x fusion360-install.sh && bash fusion360-install.sh
# 2. Step: The installation will now start and set up everything for you automatically. # 2. Step: The installation will now start and set up everything for you automatically.
@@ -72,7 +72,7 @@ elif VERB="$( which pacman )" 2> /dev/null; then
# openSUSE Leap & Tumbleweed, SUSE Linux, ... versions # openSUSE Leap & Tumbleweed, SUSE Linux, ... versions
elif VERB="$( which zypper )" 2> /dev/null; then elif VERB="$( which zypper )" 2> /dev/null; then
echo "openSUSE-based" echo "openSUSE-based"
su -c 'zypper up && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper install p7zip-full curl wine' su -c 'zypper up && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper install p7zip-full curl wine cabextract'
# su -c 'zypper install xdotool' (experimental) # su -c 'zypper install xdotool' (experimental)
else else
echo "Non-compatible Linux distribution version was found!" >&2 echo "Non-compatible Linux distribution version was found!" >&2
@@ -86,7 +86,7 @@ if [[ 1 -ne $# ]]; then
echo "The latest version of wintricks will be downloaded and executed." echo "The latest version of wintricks will be downloaded and executed."
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks &&
chmod +x winetricks && chmod +x winetricks &&
WINEPREFIX=~/.fusion360 sh winetricks -q corefonts vcrun2017 msxml4 fontsmooth=rgb win10 && WINEPREFIX=~/.fusion360 sh winetricks -q corefonts msxml4 vcrun2017 fontsmooth=rgb win10 &&
echo "Autodesk Fusion 360 will be installed and set up." echo "Autodesk Fusion 360 will be installed and set up."
mkdir -p fusion360 && mkdir -p fusion360 &&