I have solved some problems

This commit is contained in:
Steve Zabka
2021-08-15 06:17:52 +02:00
committed by GitHub
parent c7145df246
commit 69bb4fdf09

View File

@@ -7,8 +7,8 @@
# Author URI: https://cryinkfly.com # Author URI: https://cryinkfly.com
# License: MIT # License: MIT
# Copyright (c) 2020-2021 # Copyright (c) 2020-2021
# Time/Date: 10:00/13.08.2021 # Time/Date: 06:00/15.08.2021
# Version: 3.2 # Version: 3.3
############################################################################## ##############################################################################
# DESCRIPTION # DESCRIPTION
@@ -69,7 +69,7 @@ function welcome_screen {
HEIGHT=15 HEIGHT=15
WIDTH=60 WIDTH=60
CHOICE_HEIGHT=2 CHOICE_HEIGHT=2
BACKTITLE="Installation of Autodesk Fusion360 - Version 3.2" BACKTITLE="Installation of Autodesk Fusion360 - Version 3.3"
TITLE="Do you wish to install Autodesk Fusion 360?" TITLE="Do you wish to install Autodesk Fusion 360?"
MENU="Choose one of the following options:" MENU="Choose one of the following options:"
@@ -99,7 +99,7 @@ function select_your_os {
HEIGHT=15 HEIGHT=15
WIDTH=200 WIDTH=200
CHOICE_HEIGHT=10 CHOICE_HEIGHT=10
BACKTITLE="Installation of Autodesk Fusion360 - Version 3.2" BACKTITLE="Installation of Autodesk Fusion360 - Version 3.3"
TITLE="Select your Linux distribution" TITLE="Select your Linux distribution"
MENU="Choose one of the following options:" MENU="Choose one of the following options:"
@@ -133,7 +133,7 @@ clear
case $CHOICE in case $CHOICE in
1) 1)
archlinux_1 archlinux_1 &&
select_your_path select_your_path
;; ;;
@@ -254,7 +254,7 @@ HEIGHT=15
WIDTH=200 WIDTH=200
CHOICE_HEIGHT=2 CHOICE_HEIGHT=2
CHOICE_WIDTH=200 CHOICE_WIDTH=200
BACKTITLE="Installation of Autodesk Fusion360 - Version 3.2" BACKTITLE="Installation of Autodesk Fusion360 - Version 3.3"
TITLE="Choose setup type" TITLE="Choose setup type"
MENU="Choose the kind of setup that best suits your needs." MENU="Choose the kind of setup that best suits your needs."
@@ -275,7 +275,7 @@ case $CHOICE in
winetricks-standard winetricks-standard
;; ;;
2) 2)
select_your_path_custom select_your_path_custom &&
winetricks-custom winetricks-custom
;; ;;
esac esac
@@ -283,15 +283,15 @@ esac
function select_your_path_custom { function select_your_path_custom {
dialog --backtitle "Installation of Autodesk Fusion360 - Version 3.2" \ dialog --backtitle "Installation of Autodesk Fusion360 - Version 3.3" \
--title "Description - Configure the installation location" \ --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/.wineprefixes/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 3.2" --fselect $HOME/ 14 100) filename=$(dialog --stdout --title "Enter the installation path for Fusion 360:" --backtitle "Installation of Autodesk Fusion360 - Version 3.3" --fselect $HOME/ 14 100)
} }
function program_exit { function program_exit {
dialog --backtitle "Installation of Autodesk Fusion360 - Version 3.2" \ dialog --backtitle "Installation of Autodesk Fusion360 - Version 3.3" \
--title "Autodesk Fusion 360 is completed." \ --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 --msgbox 'The installation of Autodesk Fusion 360 is completed and you can use it for your projects.' 14 200
@@ -304,7 +304,7 @@ function archlinux_1 {
HEIGHT=15 HEIGHT=15
WIDTH=60 WIDTH=60
CHOICE_HEIGHT=2 CHOICE_HEIGHT=2
BACKTITLE="Installation of Autodesk Fusion360 - Version 3.2" BACKTITLE="Installation of Autodesk Fusion360 - Version 3.3"
TITLE="If you have enabled multilib repository?" TITLE="If you have enabled multilib repository?"
MENU="Choose one of the following options:" MENU="Choose one of the following options:"
@@ -395,7 +395,7 @@ function winetricks-standard {
mkdir -p Options && mkdir -p Options &&
cd Options && cd Options &&
wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml && 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! # Because the location varies depending on the Linux distro!
mkdir -p "/home/$USER/.wineprefixes/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" && cd "/home/$USER/.wineprefixes/fusion360/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform" &&
mkdir -p Options && mkdir -p Options &&
@@ -421,7 +421,7 @@ function winetricks-custom {
mkdir -p Options && mkdir -p Options &&
cd Options && cd Options &&
wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml && 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! # Because the location varies depending on the Linux distro!
mkdir -p "$filename/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform" && mkdir -p "$filename/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform" &&
cd "$filename/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform" && cd "$filename/drive_c/users/$USER/Application Data/Autodesk/Neutron Platform" &&
mkdir -p Options && mkdir -p Options &&