2021-09-14 16:31:26 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								#!/bin/bash
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								#################################################################################################### 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Name:         Autodesk Fusion 360 - Setup Wizard (Linux)                                         # 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Description:  With this file you can install Autodesk Fusion 360 on various Linux distributions. # 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Author:       Steve Zabka                                                                        # 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Author URI:   https://cryinkfly.com                                                              # 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# License:      MIT                                                                                # 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Copyright (c) 2020-2021                                                                          # 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 17:45:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Time/Date:    17:00/21.10.2021                                                                   # 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Version:      5.6                                                                                # 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								#################################################################################################### 
							 
						 
					
						
							
								
									
										
										
										
											2021-05-11 15:23:49 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# DESCRIPTION IN DETAIL 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# With the help of my setup wizard, you will be given a way to install Autodesk Fusion 360 with some extensions on 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Linux so that you don't have to use Windows or macOS for this program in the future! 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Also, my setup wizard will guides you through the installation step by step and will install some required packages. 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# The next one is you have the option of installing the program directly on your system or you can install it on an external storage medium. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# But it's important to know, you must to purchase the licenses directly from the manufacturer of Autodesk Fusion 360, when 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# you will work with them on Linux! 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################################################################################################ 
							 
						 
					
						
							
								
									
										
										
										
											2021-05-21 20:15:36 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# 1. Step: Open a Terminal and run this command: cd Downloads && chmod +x fusion360-install.sh && bash fusion360-install.sh 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# 2. Step: The installation will now start and set up everything for you automatically! 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################################################################################################ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# ALL FUNCTIONS ARE ARRANGED HERE: 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Here all languages are called up via an extra language file for the installation! 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  languages { 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-22 17:01:41 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/raw/main/files/scripts/old-stable-branch/languages.sh && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    chmod +x languages.sh && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    clear && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    . languages.sh
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# The minimum requirements for installing Autodesk Fusion 360 will be installed here! 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Prompt user to consent to required packages: dialog, wmctrl 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  check-requirement { 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								echo  " $text_1 "  # State packages to be installed 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								echo  -n " $text_1_1 "  # Prompt yes/no 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								read  answer
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								if  [  " $answer "  !=  " ${ answer #[YyJj] } "  ]  ; then 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    install-requirement &&  # Call function to install packages 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    wmctrl -r ':ACTIVE:'  -b toggle,fullscreen &&  # Maximize the window of the terminal 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    echo  "No Error!"  # This is in place to allow the script to continue (Workaround for a bug) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    check-if-fusion360-exists # Next stage in the process 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    exit; 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-02 21:28:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Decide which package manager is in use, and install the packages 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  install-requirement { 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								if  VERB = " $(  which apt-get ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "Debian-based" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo apt-get update && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   sudo apt-get install dialog wmctrl software-properties-common
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which dnf ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "RedHat-based" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo dnf update && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-08 18:03:59 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   sudo dnf install dialog wmctrl
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which pacman ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "Arch-based" 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-29 20:49:47 -04:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   sudo pacman -Sy --needed dialog wmctrl
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which zypper ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "openSUSE-based" 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-08 18:03:59 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   su -c 'zypper up && zypper install dialog wmctrl' 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:09:54 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which xbps-install ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   echo  "Void-based" 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-08 18:03:59 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   sudo xbps-install -Sy dialog wmctrl
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which eopkg ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "Solus-based" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo eopkg install dialog wmctrl
							 
						 
					
						
							
								
									
										
										
										
											2021-08-31 03:22:42 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								elif  VERB = " $(  which emerge ) "  2> /dev/null;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    echo  "Gentoo-based" 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-13 07:33:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    sudo emerge -av dev-util/dialog x11-misc/wmctrl
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  "I can't find your package manager!" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   exit; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# It will check whether Autodesk Fusion 360 is already installed on your system or not! 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  check-if-fusion360-exists { 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								FILE = /$HOME /.local/share/fusion360/logfiles/path-log.txt # Search for log files indicting install 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								if  [  -f " $FILE "  ] ;  then 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    welcome-screen-2 # Exists - Modify install 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								else 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    welcome-screen-1 # New install 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Here you have to decide whether you want to use Autodesk Fusion 360 with DXVK (DirectX 9) or OpenGL! - Part 2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  configure-dxvk-or-opengl-standard-1 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  if  [  $driver_used  -eq 2  ] ;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      WINEPREFIX = /home/$USER /.wineprefixes/fusion360 sh winetricks -q dxvk && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.reg && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      WINEPREFIX = /home/$USER /.wineprefixes/fusion360 wine regedit.exe DXVK.reg
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  configure-dxvk-or-opengl-standard-2 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								if  [  $driver_used  -eq 2  ] ;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.xml && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      mv DXVK.xml NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  configure-dxvk-or-opengl-standard-3 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								if  [  $driver_used  -eq 2  ] ;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.xml && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      mv DXVK.xml NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  configure-dxvk-or-opengl-custom-1 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   if  [  $driver_used  -eq 2  ] ;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      WINEPREFIX = $filename  sh winetricks -q dxvk && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.reg && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      WINEPREFIX = $filename  wine regedit.exe DXVK.reg
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  configure-dxvk-or-opengl-custom-2 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								if  [  $driver_used  -eq 2  ] ;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.xml && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      mv DXVK.xml NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  configure-dxvk-or-opengl-custom-3 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								if  [  $driver_used  -eq 2  ] ;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/DXVK.xml && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      mv DXVK.xml NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								      wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/NMachineSpecificOptions.xml
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# For the installation of Autodesk Fusion 360 one of the supported Linux distributions must be selected! - Part 2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  archlinux-1 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    echo  "Checking for multilib..." 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    if  archlinux-verify-multilib ;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        echo  "multilib found. Continuing..." 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        archlinux-2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        select -your-path
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        echo  "Enabling multilib..." 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        echo  "[multilib]"  |  sudo tee -a /etc/pacman.conf && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        echo  "Include = /etc/pacman.d/mirrorlist"  |  sudo tee -a /etc/pacman.conf && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        archlinux-2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        select -your-path
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  archlinux-2 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo pacman -Sy --needed wine wine-mono wine_gecko winetricks p7zip curl cabextract samba ppp
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  archlinux-verify-multilib { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    if  cat /etc/pacman.conf |  grep -q '^\[multilib\]$'  ;  then 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        true 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    else 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        false 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    fi 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  debian-based-1 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get upgrade && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dpkg --add-architecture i386  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    wget -nc https://dl.winehq.org/wine-builds/winehq.key && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-key add winehq.key
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  debian-based-2 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get upgrade && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get install p7zip p7zip-full p7zip-rar curl winbind cabextract wget && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo apt-get install --install-recommends winehq-staging && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    select -your-path
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  fedora-based-1 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dnf update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dnf upgrade && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$( rpm -E %fedora) .noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$( rpm -E %fedora) .noarch.rpm
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  fedora-based-2 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo dnf install p7zip p7zip-plugins curl wget wine cabextract && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    select -your-path
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  redhat-linux { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo dnf upgrade && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo dnf install wine
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  solus-linux { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo eopkg install wine winetricks p7zip curl cabextract samba ppp
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  void-linux { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   sudo xbps-install -Sy wine wine-mono wine-gecko winetricks p7zip curl cabextract samba ppp
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  gentoo-linux { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    sudo emerge -av virtual/wine app-emulation/winetricks app-emulation/wine-mono app-emulation/wine-gecko app-arch/p7zip app-arch/cabextract net-misc/curl net-fs/samba net-dialup/ppp
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Autodesk Fusion 360 will now be installed using Wine and Winetricks! 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  winetricks-standard { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   clear
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   mkdir -p $HOME /.wineprefixes/fusion360 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  $HOME /.wineprefixes/fusion360 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   wget -N https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   chmod +x winetricks && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $HOME /.wineprefixes/fusion360 sh winetricks -q corefonts cjkfonts msxml4 msxml6 vcrun2017 fontsmooth = rgb win8 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   # We must install cjkfonts again then sometimes it doesn't work the first time! 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $HOME /.wineprefixes/fusion360 sh winetricks -q cjkfonts && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   configure-dxvk-or-opengl-standard-1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p fusion360download && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  fusion360download && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   wget https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe -O Fusion360installer.exe && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $HOME /.wineprefixes/fusion360 wine Fusion360installer.exe -p deploy -g -f log.txt --quiet && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $HOME /.wineprefixes/fusion360 wine Fusion360installer.exe -p deploy -g -f log.txt --quiet && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p " $HOME /.wineprefixes/fusion360/drive_c/users/ $USER /AppData/Roaming/Autodesk/Neutron Platform "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  " $HOME /.wineprefixes/fusion360/drive_c/users/ $USER /AppData/Roaming/Autodesk/Neutron Platform "  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   mkdir -p Options && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  Options && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   configure-dxvk-or-opengl-standard-2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   # Because the location varies depending on the Linux distro! 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   mkdir -p " $HOME /.wineprefixes/fusion360/drive_c/users/ $USER /Application Data/Autodesk/Neutron Platform "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  " $HOME /.wineprefixes/fusion360/drive_c/users/ $USER /Application Data/Autodesk/Neutron Platform "  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   mkdir -p Options && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  Options && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   configure-dxvk-or-opengl-standard-3 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   #Set up the program launcher for you! 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-09 22:12:04 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   cd  " $HOME /.local/share/applications/wine/Programs/Autodesk "  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   wget -N https://raw.githubusercontent.com/cryinkfly/Fusion-360---Linux-Wine-Version-/main/files/Autodesk%20Fusion%20360.desktop && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   logfile-installation-standard && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   install-extensions-standard && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   program-exit
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  winetricks-custom { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p $filename  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  $filename  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   wget -N https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   chmod +x winetricks && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $filename  sh winetricks -q corefonts cjkfonts msxml4 msxml6 vcrun2017 fontsmooth = rgb win8 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   # We must install cjkfonts again then sometimes it doesn't work the first time! 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $filename  sh winetricks -q cjkfonts && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   configure-dxvk-or-opengl-custom-1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p fusion360download && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  fusion360download && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   wget https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe -O Fusion360installer.exe && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $filename  wine Fusion360installer.exe -p deploy -g -f log.txt --quiet && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   WINEPREFIX = $filename  wine Fusion360installer.exe -p deploy -g -f log.txt --quiet && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p " $filename /drive_c/users/ $USER /AppData/Roaming/Autodesk/Neutron Platform "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  " $filename /drive_c/users/ $USER /AppData/Roaming/Autodesk/Neutron Platform "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p Options && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  Options && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   configure-dxvk-or-opengl-custom-2 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   # Because the location varies depending on the Linux distro! 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p " $filename /drive_c/users/ $USER /Application Data/Autodesk/Neutron Platform "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  " $filename /drive_c/users/ $USER /Application Data/Autodesk/Neutron Platform "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p Options && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  Options && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   configure-dxvk-or-opengl-custom-3 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   logfile-installation-custom && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   install-extensions-custom && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   program-exit
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# A log file will now be created here so that it can be checked in the future whether an installation of Autodesk Fusion 360 already exists on your system. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  logfile-installation { 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   mkdir -p " / $HOME /.local/share/fusion360/logfiles "  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   exec  5> /$HOME /.local/share/fusion360/logfiles/install-log.txt
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   BASH_XTRACEFD = "5" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   set  -x
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  logfile-installation-standard { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p " / $HOME /.local/share/fusion360/logfiles "  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-09 22:12:04 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   cd  " / $HOME /.local/share/fusion360 "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/launcher.sh && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   chmod +x launcher.sh && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  "logfiles"  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  " / $HOME /.wineprefixes/fusion360 "  >> path-log.txt
							 
						 
					
						
							
								
									
										
										
										
											2021-09-24 10:36:10 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  logfile-installation-custom { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   mkdir -p " / $HOME /.local/share/fusion360/logfiles "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   cd  " / $HOME /.local/share/fusion360/logfiles "  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								   echo  " $filename "  >> path-log.txt
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# ALL DIALOGS ARE ARRANGED HERE: 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Autodesk Fusion 360 will be installed from scratch on this system! 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  welcome-screen-1 { 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								HEIGHT = 15 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								WIDTH = 60 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE_HEIGHT = 2 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								BACKTITLE = " $text_2 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TITLE = " $text_2_1 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								MENU = " $text_2_2 " 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								OPTIONS = ( 1  " $text_2_3 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  " $text_2_4 " ) 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE = $( dialog --clear \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --backtitle " $BACKTITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --title " $TITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --menu " $MENU "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                $HEIGHT  $WIDTH  $CHOICE_HEIGHT  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                " ${ OPTIONS [@] } "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								case  $CHOICE  in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            driver_used = 0  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 17:54:58 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -dxvk-or-opengl
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            exit 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								esac 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Autodesk Fusion 360 has already been installed on your system and you will now be given various options to choose from! 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  welcome-screen-2 { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								HEIGHT = 15 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								WIDTH = 180 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE_HEIGHT = 3 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								BACKTITLE = " $text_3 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TITLE = " $text_3_1 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								MENU = " $text_3_2 " 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								OPTIONS = ( 1  " $text_3_3 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  " $text_3_4 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         3  " $text_3_5 " ) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE = $( dialog --clear \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --backtitle " $BACKTITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --title " $TITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --menu " $MENU "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                $HEIGHT  $WIDTH  $CHOICE_HEIGHT  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                " ${ OPTIONS [@] } "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								case  $CHOICE  in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            driver_used = 0  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            select -dxvk-or-opengl
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            change-fusion360-1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            change-fusion360-2 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            cd  $filename /fusion360download && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            WINEPREFIX = $filename  wine Fusion360installer.exe -p deploy -g -f log.txt --quiet && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            WINEPREFIX = $filename  wine Fusion360installer.exe -p deploy -g -f log.txt --quiet && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            install-extensions-custom && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            program-exit
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        3) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            change-fusion360-1 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            change-fusion360-2 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-14 16:02:47 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            rm -rf " $filename "  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            # Remove this path into the log file is still in process! 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            program-exit-uninstall
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								esac 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Here you have to decide whether you want to use Autodesk Fusion 360 with DXVK (DirectX 9) or OpenGL! - Part 1 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 20:43:46 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								function  select -dxvk-or-opengl { 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 20:43:46 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								HEIGHT = 15 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								WIDTH = 200 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE_HEIGHT = 10 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								BACKTITLE = " $text_4 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TITLE = " $text_4_1 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								MENU = " $text_4_2 " 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 20:43:46 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								OPTIONS = ( 1  " $text_4_3 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  " $text_4_4 " ) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 20:43:46 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE = $( dialog --clear \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --backtitle " $BACKTITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --title " $TITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --menu " $MENU "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                $HEIGHT  $WIDTH  $CHOICE_HEIGHT  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                " ${ OPTIONS [@] } "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								case  $CHOICE  in
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 20:43:46 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            driver_used = 1  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -your-os
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 20:43:46 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 20:43:46 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 20:43:46 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            driver_used = 2  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -your-os
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								esac 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-02 12:34:48 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# For the installation of Autodesk Fusion 360 one of the supported Linux distributions must be selected! - Part 1 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  select -your-os { 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								HEIGHT = 15 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								WIDTH = 200 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								CHOICE_HEIGHT = 10 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								BACKTITLE = " $text_5 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TITLE = " $text_5_1 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								MENU = " $text_5_2 " 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								OPTIONS = ( 1  "Arch Linux, Manjaro Linux, EndeavourOS, ..." 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  "Debian 10, MX Linux 19.4, Raspberry Pi Desktop, ..." 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         3  "Debian 11" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         4  "Fedora 33" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         5  "Fedora 34" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         6  "openSUSE Leap 15.2" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         7  "openSUSE Leap 15.3" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         8  "openSUSE Tumbleweed" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         9  "Red Hat Enterprise Linux 8.x" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         10  "Solus" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         11  "Ubuntu 18.04, Linux Mint 19.x, ..." 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         12  "Ubuntu 20.04, Linux Mint 20.x, Pop!_OS 20.04, ..." 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         13  "Ubuntu 20.10" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         14  "Ubuntu 21.04, Pop!_OS 21.04, ..." 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-17 09:43:37 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								         15  "Ubuntu 21.10" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         16  "Void Linux" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         17  "Gentoo Linux" ) 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE = $( dialog --clear \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --backtitle " $BACKTITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --title " $TITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --menu " $MENU "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                $HEIGHT  $WIDTH  $CHOICE_HEIGHT  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                " ${ OPTIONS [@] } "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								case  $CHOICE  in
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            archlinux-1
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-1 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/debian/ buster main'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-2
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        3) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-1 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/debian/ bullseye main'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-2
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        4) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            fedora-based-1 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/33/winehq.repo && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            fedora-based-2
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        5) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            fedora-based-1 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/34/winehq.repo && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            fedora-based-2
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        6) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            su -c 'zypper up && zypper rr https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.2/ wine && zypper install p7zip-full curl wget wine cabextract'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -your-path
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        7) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            su -c 'zypper up && zypper rr https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.3/ wine && zypper ar -cfp 95 https://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.3/ wine && zypper install p7zip-full curl wget wine cabextract'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -your-path
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        8) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            su -c 'zypper up && zypper install p7zip-full curl wget wine cabextract'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -your-path
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        9) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            redhat-linux && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -your-path
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        10) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            solus-linux && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -your-path
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        11) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-1 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 10:23:46 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo apt-add-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 10:13:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            wget -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key -O Release.key -O- |  sudo apt-key add - && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-2
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        12) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-1 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 10:27:01 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            wget -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04/Release.key -O Release.key -O- |  sudo apt-key add - && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04/ ./'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-2
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        13) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-1 && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 10:27:01 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            wget -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.10/Release.key -O Release.key -O- |  sudo apt-key add - && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.10/ ./'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-2
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        14) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 15:37:13 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            # Note: This installs the public key to trusted.gpg.d - While this is "acceptable" behaviour it is not best practice. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # It is infinitely better than using apt-key add though. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # For more information and for instructions to utalise best practices, see: 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 15:37:13 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo apt update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo apt upgrade && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo dpkg --add-architecture i386  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            mkdir -p /tmp/360 &&  cd  /tmp/360 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_21.04/Release.key && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            wget https://dl.winehq.org/wine-builds/winehq.key && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            gpg --no-default-keyring --keyring ./temp-keyring.gpg --import Release.key && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            gpg --no-default-keyring --keyring ./temp-keyring.gpg --export --output opensuse-wine.gpg &&  rm temp-keyring.gpg && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            gpg --no-default-keyring --keyring ./temp-keyring.gpg --import winehq.key && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 17:22:03 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            gpg --no-default-keyring --keyring ./temp-keyring.gpg --export --output winehq.gpg &&  rm temp-keyring.gpg && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-03 15:37:13 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo mv *.gpg /etc/apt/trusted.gpg.d/ &&  cd  /tmp &&  sudo rm -rf 360  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-15 15:00:03 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            echo  "deb [signed-by=/etc/apt/trusted.gpg.d/opensuse-wine.gpg] https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_21.04/ ./"  |  sudo tee -a /etc/apt/sources.list.d/opensuse-wine.list && 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-13 10:27:01 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            debian-based-2
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-17 09:43:37 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:03:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        15) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-17 09:43:37 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # Note: This installs the public key to trusted.gpg.d - While this is "acceptable" behaviour it is not best practice. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # It is infinitely better than using apt-key add though. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # For more information and for instructions to utalise best practices, see: 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-17 09:43:37 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            sudo apt update && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo apt upgrade && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo dpkg --add-architecture i386  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            mkdir -p /tmp/360 &&  cd  /tmp/360 && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_21.04/Release.key && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            wget https://dl.winehq.org/wine-builds/winehq.key && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            gpg --no-default-keyring --keyring ./temp-keyring.gpg --import Release.key && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            gpg --no-default-keyring --keyring ./temp-keyring.gpg --export --output opensuse-wine.gpg &&  rm temp-keyring.gpg && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            gpg --no-default-keyring --keyring ./temp-keyring.gpg --import winehq.key && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            gpg --no-default-keyring --keyring ./temp-keyring.gpg --export --output winehq.gpg &&  rm temp-keyring.gpg && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo mv *.gpg /etc/apt/trusted.gpg.d/ &&  cd  /tmp &&  sudo rm -rf 360  && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # Use 21.04 software prior to 21.10 release. Replace this with the below block after release. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "deb [signed-by=/etc/apt/trusted.gpg.d/opensuse-wine.gpg] https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_21.04/ ./"  |  sudo tee -a /etc/apt/sources.list.d/opensuse-wine.list && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'  && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-17 09:43:37 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            # Verify the below repos exist and uncomment this block to replace the above after 21.10 release 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # echo "deb [signed-by=/etc/apt/trusted.gpg.d/opensuse-wine.gpg] https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_21.10/ ./" | sudo tee -a /etc/apt/sources.list.d/opensuse-wine.list && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            # sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main' && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            debian-based-2
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-17 09:43:37 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        16) 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-04 19:30:42 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            void-linux && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -your-path
							 
						 
					
						
							
								
									
										
										
										
											2021-08-03 21:05:06 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-17 09:43:37 +09:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        17) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-31 03:22:42 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            gentoo-linux && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            select -your-path
							 
						 
					
						
							
								
									
										
										
										
											2021-08-31 03:22:42 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-01 18:03:49 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								esac 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-08 13:57:38 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Here you can determine how Autodesk Fusion 360 should be instierlert! (Installation location) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  select -your-path { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								HEIGHT = 15 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								WIDTH = 200 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE_HEIGHT = 2 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE_WIDTH = 200 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								BACKTITLE = " $text_7 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								TITLE = " $text_7_1 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								MENU = " $text_7_2 " 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								OPTIONS = ( 1  " $text_7_3 " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  " $text_7_4 " ) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								CHOICE = $( dialog --clear \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --backtitle " $BACKTITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --title " $TITLE "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                --menu " $MENU "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                $HEIGHT  $WIDTH  $CHOICE_HEIGHT  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                " ${ OPTIONS [@] } "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								case  $CHOICE  in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks-standard
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            select -your-path-custom && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            winetricks-custom
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								esac 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  select -your-path-custom { 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    dialog --backtitle " $text_8 "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    --title " $text_8_1 "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    --msgbox " $text_8_2 "  14  200 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    filename = $( dialog --stdout --title " $text_8_3 "  --backtitle " $text_8_4 "  --fselect $HOME / 14  100) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Update/Repair existing installation of Autodesk Fusion 360 on your system! 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  change-fusion360-1 { 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 09:00:33 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    dialog --title " $text_9 "  --backtitle " $text_9_1 "  --textbox " / $HOME /.local/share/fusion360/logfiles/path-log.txt "  14  180 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  change-fusion360-2 { 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    filename = $( dialog --stdout --title " $text_9_2 "  --backtitle " $text_9_3 "  --fselect $HOME / 14  100) 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# The uninstallation is complete and will be terminated. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  program-exit-uninstall { 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    dialog --backtitle " $text_10 "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    --title " $text_10_1 "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    --msgbox " $text_10_2 "  14  200 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    exit 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# The installation is complete and will be terminated. 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  program-exit { 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    dialog --backtitle " $text_11 "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    --title " $text_11_1 "  \
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    --msgbox " $text_11_2 "  14  200 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    exit 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Installation of various extensions is offered here. For examble: OctoPrint for Autodesk® Fusion 360™ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  install-extensions-standard { 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 15:00:13 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								cmd = ( dialog --separate-output --backtitle " $text_12 "  --title " $text_12_1 "  --checklist " $text_12_2 "  22  250  16) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								options = ( 1  " $text_12_3 "  off    # any option can be set to default to "on" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  " $text_12_4 "  off
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         3  " $text_12_5 "  off
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         4  " $text_12_6 "  off
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         5  " $text_12_7 "  off) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								choices = $( " ${ cmd [@] } "  " ${ options [@] } "  2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								for  choice in $choices 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								do 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    case  $choice  in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install Airfoil Tools!" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            airfoil-tools-plugin-standard
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install Additive Assistant (FFF)!" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            additive-assistant-plugin-standard
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        3) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install HP 3D Printers for Autodesk® Fusion 360™!" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            hp-3dprinter-connector-plugin-standard
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        4) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install OctoPrint for Autodesk® Fusion 360™!" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            octoprint-plugin-standard
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        5) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install RoboDK!" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            robodk-plugin-standard
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    esac 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								done 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  install-extensions-custom { 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 15:00:13 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								cmd = ( dialog --separate-output --backtitle " $text_12 "  --title " $text_12_1 "  --checklist " $text_12_2 "  22  250  16) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								options = ( 1  " $text_12_3 "  off    # any option can be set to default to "on" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         2  " $text_12_4 "  off
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         3  " $text_12_5 "  off
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         4  " $text_12_6 "  off
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         5  " $text_12_7 "  off) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								choices = $( " ${ cmd [@] } "  " ${ options [@] } "  2>& 1  >/dev/tty) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								clear
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								for  choice in $choices 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								do 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    case  $choice  in
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        1) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install Airfoil Tools!" 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 18:35:23 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            airfoil-tools-plugin-custom
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        2) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install Additive Assistant (FFF)!" 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 18:35:23 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            additive-assistant-plugin-custom
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        3) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install HP 3D Printers for Autodesk® Fusion 360™!" 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 18:35:23 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            hp-3dprinter-connector-plugin-custom
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        4) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install OctoPrint for Autodesk® Fusion 360™!" 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 18:35:23 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            octoprint-plugin-custom
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        5) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            echo  "Install RoboDK!" 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 18:35:23 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            robodk-plugin-custom
							 
						 
					
						
							
								
									
										
										
										
											2021-09-28 18:11:00 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            ; ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    esac 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								done 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# ALL EXTENSIONS ARE HERE: 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Airfoil Tools 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  airfoil-tools-plugin-standard { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/raw/main/files/extensions/AirfoilTools_win64.msi && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $HOME /.wineprefixes/fusion360 wine AirfoilTools_win64.msi
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  airfoil-tools-plugin-custom { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/raw/main/files/extensions/AirfoilTools_win64.msi && 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $filename  wine AirfoilTools_win64.msi
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# Additive Assistant (FFF) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  additive-assistant-plugin-standard { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 20:20:09 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/AdditiveAssistant.bundle-win64.msi && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 17:45:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $HOME /.wineprefixes/fusion360 wine AdditiveAssistant_win64.msi
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  additive-assistant-plugin-custom { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 20:20:09 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/AdditiveAssistant.bundle-win64.msi && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 17:45:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $filename  wine AdditiveAssistant_win64.msi
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# HP 3D Printers for Autodesk® Fusion 360™ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  hp-3dprinter-connector-plugin-standard { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 20:20:09 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/HP_3DPrinters_for_Fusion360-win64.msi && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 17:45:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $HOME /.wineprefixes/fusion360 wine HP3DPrintersForFusion360_win64.msi
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  hp-3dprinter-connector-plugin-custom { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 20:20:09 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/HP_3DPrinters_for_Fusion360-win64.msi && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 17:45:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $filename  wine HP3DPrintersForFusion360_win64.msi
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# OctoPrint for Autodesk® Fusion 360™ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  octoprint-plugin-standard { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 20:20:09 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/OctoPrint_for_Fusion360-win64.msi && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 17:45:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $HOME /.wineprefixes/fusion360 wine OctoPrintForFusion360_win64.msi
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  octoprint-plugin-custom { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 20:20:09 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/OctoPrint_for_Fusion360-win64.msi && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 17:45:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $filename  wine OctoPrintForFusion360_win64.msi
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# RoboDK 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  robodk-plugin-standard { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $HOME /.wineprefixes/fusion360/fusion360download/extensions " 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 20:20:09 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/RoboDK.bundle-win64.msi && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 17:45:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $HOME /.wineprefixes/fusion360 wine RoboDK_win64.msi
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								function  robodk-plugin-custom { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    mkdir -p " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    cd  " $filename /fusion360download/extensions " 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 20:20:09 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/RoboDK.bundle-win64.msi && 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-21 17:45:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								    WINEPREFIX = $filename  wine RoboDK_win64.msi
							 
						 
					
						
							
								
									
										
										
										
											2021-09-26 12:38:27 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								# THE INSTALLATION PROGRAM IS STARTED HERE: 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################## 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-09-08 08:19:36 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								logfile-installation && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								clear && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-11 13:59:29 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								languages && 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-04 14:56:21 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								check-requirement
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								############################################################################################################################################################ 
							 
						 
					
						
							
								
									
										
										
										
											2021-10-08 08:50:53 +02:00