mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-11-01 19:06:08 +01:00
Update install.sh
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# Author URI: https://cryinkfly.com #
|
||||
# License: MIT #
|
||||
# Copyright (c) 2020-2022 #
|
||||
# Time/Date: 06:30/06.05.2022 #
|
||||
# Time/Date: 06:35/06.05.2022 #
|
||||
# Version: 1.7.9 -> 1.8.0 #
|
||||
####################################################################################################
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
# 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! #
|
||||
###############################################################################################################################################################
|
||||
|
||||
###############################################################################################################################################################
|
||||
# THE INITIALIZATION OF DEPENDENCIES STARTS HERE: #
|
||||
###############################################################################################################################################################
|
||||
|
||||
# Default-Path:
|
||||
SP_PATH="$HOME/.fusion360"
|
||||
|
||||
@@ -35,8 +39,6 @@ SP_DRIVER="DXVK"
|
||||
# Reset the logfile-value for the installation of Autodesk Fusion 360!
|
||||
SP_FUSION360_CHANGE=0
|
||||
|
||||
###############################################################################################################################################################
|
||||
# THE INITIALIZATION OF DEPENDENCIES STARTS HERE: #
|
||||
###############################################################################################################################################################
|
||||
|
||||
function SP_STRUCTURE {
|
||||
@@ -117,6 +119,28 @@ function SP_SERVER_LIST {
|
||||
SP_SERVER_38=`cat $SP_PATH/servers/server-list.txt | awk 'NR == 90'`
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
# ALL LOG-FUNCTIONS ARE ARRANGED HERE: #
|
||||
###############################################################################################################################################################
|
||||
|
||||
# Provides information about setup actions during installation.
|
||||
function SP_LOGFILE_INSTALL {
|
||||
exec 5> $SP_PATH/logs/setupact.log
|
||||
BASH_XTRACEFD="5"
|
||||
set -x
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
|
||||
function SP_LOGFILE_WINEPREFIX {
|
||||
if [ $SP_FUSION360_CHANGE -eq 1 ]; then
|
||||
echo "Wineprefix (Path):" >> $SP_PATH/logs/wineprefixes.log
|
||||
echo "$WP_PATH" >> $SP_PATH/logs/wineprefixes.log
|
||||
fi
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
# ALL LOCALE-FUNCTIONS ARE ARRANGED HERE: #
|
||||
###############################################################################################################################################################
|
||||
|
||||
# Load the index of locale files:
|
||||
@@ -191,6 +215,8 @@ function SP_LOCALE_ZH {
|
||||
SP_LICENSE="$SP_PATH/locale/zh-CN/license-zh.txt"
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
# DONWLOAD WINETRICKS AND AUTODESK FUSION 360: #
|
||||
###############################################################################################################################################################
|
||||
|
||||
# Load the newest winetricks version:
|
||||
@@ -214,6 +240,8 @@ function SP_FUSION360_INSTALLER_LOAD {
|
||||
fi
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
# ALL FUNCTIONS FOR DESKTOP-FILES START HERE: #
|
||||
###############################################################################################################################################################
|
||||
|
||||
# Load the icons and .desktop-files:
|
||||
@@ -253,26 +281,6 @@ function SP_FUSION360_SHORTCUTS_LOAD {
|
||||
chmod +x $SP_PATH/bin/read-text.sh
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
# ALL LOG-FUNCTIONS ARE ARRANGED HERE: #
|
||||
###############################################################################################################################################################
|
||||
|
||||
# Provides information about setup actions during installation.
|
||||
function SP_LOGFILE_INSTALL {
|
||||
exec 5> $SP_PATH/logs/setupact.log
|
||||
BASH_XTRACEFD="5"
|
||||
set -x
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
|
||||
function SP_LOGFILE_WINEPREFIX {
|
||||
if [ $SP_FUSION360_CHANGE -eq 1 ]; then
|
||||
echo "Wineprefix (Path):" >> $SP_PATH/logs/wineprefixes.log
|
||||
echo "$WP_PATH" >> $SP_PATH/logs/wineprefixes.log
|
||||
fi
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
# ALL FUNCTIONS FOR DXVK AND OPENGL START HERE: #
|
||||
###############################################################################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user