mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-11-04 20:36:15 +01:00
Update fusion360-install.sh
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
# Author URI: https://cryinkfly.com
|
||||
# License: MIT
|
||||
# Copyright (c) 2020-2021
|
||||
# Time/Date: 18:30/08.08.2021
|
||||
# Version: 2.9
|
||||
# Time/Date: 19:00/08.08.2021
|
||||
# Version: 3.0
|
||||
##############################################################################
|
||||
|
||||
# DESCRIPTION
|
||||
@@ -66,7 +66,7 @@ function welcome_screen {
|
||||
HEIGHT=15
|
||||
WIDTH=60
|
||||
CHOICE_HEIGHT=2
|
||||
BACKTITLE="Installation of Autodesk Fusion360 - Version 2.9"
|
||||
BACKTITLE="Installation of Autodesk Fusion360 - Version 3.0"
|
||||
TITLE="Do you wish to install Autodesk Fusion 360?"
|
||||
MENU="Choose one of the following options:"
|
||||
|
||||
@@ -96,7 +96,7 @@ function select_your_os {
|
||||
HEIGHT=15
|
||||
WIDTH=60
|
||||
CHOICE_HEIGHT=10
|
||||
BACKTITLE="Installation of Autodesk Fusion360 - Version 2.9"
|
||||
BACKTITLE="Installation of Autodesk Fusion360 - Version 3.0"
|
||||
TITLE="Select your Linux distribution"
|
||||
MENU="Choose one of the following options:"
|
||||
|
||||
@@ -198,11 +198,11 @@ HEIGHT=15
|
||||
WIDTH=200
|
||||
CHOICE_HEIGHT=2
|
||||
CHOICE_WIDTH=200
|
||||
BACKTITLE="Installation of Autodesk Fusion360 - Version 2.9"
|
||||
BACKTITLE="Installation of Autodesk Fusion360 - Version 3.0"
|
||||
TITLE="Choose setup type"
|
||||
MENU="Choose the kind of setup that best suits your needs."
|
||||
|
||||
OPTIONS=(1 "Standard - Install Autodesk Fusion 360 into your home folder. (/home/YOUR-USERNAME/.wine-prefixes/fusion360)"
|
||||
OPTIONS=(1 "Standard - Install Autodesk Fusion 360 into your home folder. (/home/YOUR-USERNAME/.wineprefixes/fusion360)"
|
||||
2 "Custom - Install Autodesk Fusion 360 to another place.")
|
||||
|
||||
CHOICE=$(dialog --clear \
|
||||
@@ -227,15 +227,15 @@ esac
|
||||
|
||||
|
||||
function select_your_path_custom {
|
||||
dialog --backtitle "Installation of Autodesk Fusion360 - Version 2.9" \
|
||||
dialog --backtitle "Installation of Autodesk Fusion360 - Version 3.0" \
|
||||
--title "Description - Configure the installation location" \
|
||||
--msgbox 'Now you have to determine where you want to install Fusion 360 and then the .fusion360 folder will be created for you automatically. For examlble you can install it on a external usb-drive: /run/media/user/usb-drive/wine/.fusion360 or you install it into your home folder: /home/YOUR-USERNAME/.wine-prefixes/fusion360).' 14 200
|
||||
--msgbox 'Now you have to determine where you want to install Fusion 360 and then the .fusion360 folder will be created for you automatically. For examlble you can install it on a external usb-drive: /run/media/user/usb-drive/wine/.fusion360 or you install it into your home folder: /home/YOUR-USERNAME/.wineprefixes/fusion360).' 14 200
|
||||
|
||||
filename=$(dialog --stdout --title "Enter the installation path for Fusion 360:" --backtitle "Installation of Autodesk Fusion360 - Version 2.9" --fselect $HOME/ 14 100)
|
||||
filename=$(dialog --stdout --title "Enter the installation path for Fusion 360:" --backtitle "Installation of Autodesk Fusion360 - Version 3.0" --fselect $HOME/ 14 100)
|
||||
}
|
||||
|
||||
function program_exit {
|
||||
dialog --backtitle "Installation of Autodesk Fusion360 - Version 2.9" \
|
||||
dialog --backtitle "Installation of Autodesk Fusion360 - Version 3.0" \
|
||||
--title "Autodesk Fusion 360 is completed." \
|
||||
--msgbox 'The installation of Autodesk Fusion 360 is completed and you can use it for your projects.' 14 200
|
||||
|
||||
@@ -273,7 +273,7 @@ function archlinux_1 {
|
||||
HEIGHT=15
|
||||
WIDTH=60
|
||||
CHOICE_HEIGHT=2
|
||||
BACKTITLE="Installation of Autodesk Fusion360 - Version 2.9"
|
||||
BACKTITLE="Installation of Autodesk Fusion360 - Version 3.0"
|
||||
TITLE="If you have enabled multilib repository?"
|
||||
MENU="Choose one of the following options:"
|
||||
|
||||
@@ -313,24 +313,24 @@ function void-linux {
|
||||
|
||||
function winetricks-standard {
|
||||
clear
|
||||
mkdir -p /home/$USER/.wine-prefixes/fusion360 &&
|
||||
cd /home/$USER/.wine-prefixes/fusion360 &&
|
||||
mkdir -p /home/$USER/.wineprefixes/fusion360 &&
|
||||
cd /home/$USER/.wineprefixes/fusion360 &&
|
||||
wget -N https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks &&
|
||||
chmod +x winetricks &&
|
||||
WINEPREFIX=/home/$USER/.wine-prefixes/fusion360 sh winetricks -q corefonts msxml4 msxml6 vcrun2017 fontsmooth=rgb win8 &&
|
||||
mkdir -p fusion360-download &&
|
||||
WINEPREFIX=/home/$USER/.wineprefixes/fusion360 sh winetricks -q corefonts msxml4 msxml6 vcrun2017 fontsmooth=rgb win8 &&
|
||||
mkdir -p fusion360download &&
|
||||
cd fusion360-download &&
|
||||
wget https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe -O Fusion360.exe &&
|
||||
WINEPREFIX=/home/$USER/.wine-prefixes/fusion360 wine Fusion360.exe -p deploy -g -f log.txt --quiet &&
|
||||
WINEPREFIX=/home/$USER/.wine-prefixes/fusion360 wine Fusion360.exe -p deploy -g -f log.txt --quiet &&
|
||||
mkdir -p "/home/$USER/.wine-prefixes/fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform" &&
|
||||
cd "/home/$USER/.wine-prefixes/fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform" &&
|
||||
WINEPREFIX=/home/$USER/.wineprefixes/fusion360 wine Fusion360.exe -p deploy -g -f log.txt --quiet &&
|
||||
WINEPREFIX=/home/$USER/.wineprefixes/fusion360 wine Fusion360.exe -p deploy -g -f log.txt --quiet &&
|
||||
mkdir -p "/home/$USER/.wineprefixes/fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform" &&
|
||||
cd "/home/$USER/.wineprefixes/fusion360/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform" &&
|
||||
mkdir -p Options &&
|
||||
cd Options &&
|
||||
wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml &&
|
||||
# # Because the location varies depending on the Linux distro!
|
||||
mkdir -p "/home/$USER/.wine-prefixes/fusion360/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform" &&
|
||||
cd "/home/$USER/.wine-prefixes/fusion360/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform" &&
|
||||
mkdir -p "/home/$USER/.wineprefixes/fusion360/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform" &&
|
||||
cd "/home/$USER/.wineprefixes/fusion360/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform" &&
|
||||
mkdir -p Options &&
|
||||
cd Options &&
|
||||
wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml &&
|
||||
|
||||
Reference in New Issue
Block a user