mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2026-06-23 03:01:20 +02: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: 22:00/06.06.2022 #
|
||||
# Time/Date: 20:20/07.06.2022 #
|
||||
# Version: 1.7.9 -> 1.8.0 #
|
||||
####################################################################################################
|
||||
|
||||
@@ -450,8 +450,7 @@ function SP_FUSION360_INSTALL {
|
||||
cp "$SP_PATH/downloads/Fusion360installer.exe" "$WP_DIRECTORY/drive_c/users/$USER/Downloads"
|
||||
# This start and stop the installer automatically after a time!
|
||||
# For more information check this link: https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/232
|
||||
SP_FUSION360_INSTALL_START_1 & SP_FUSION360_INSTALL_STOP_1 # These two commands run in the same time.
|
||||
SP_FUSION360_INSTALL_START_2 & SP_FUSION360_INSTALL_STOP_2 # These two commands run in the same time.
|
||||
SP_FUSION360_INSTALL_PROGRESS
|
||||
mkdir -p "$WP_DIRECTORY/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options"
|
||||
cd "$WP_DIRECTORY/drive_c/users/$USER/AppData/Roaming/Autodesk/Neutron Platform/Options"
|
||||
SP_DXVK_OPENGL_2
|
||||
@@ -474,8 +473,7 @@ function SP_FUSION360_REFRESH {
|
||||
mv "Fusion360installer.exe" "$SP_PATH/downloads/Fusion360installer.exe"
|
||||
rmdir "$WP_WINEPREFIXES_REFRESH/drive_c/users/$USER/Downloads/Fusion360installer.exe"
|
||||
cp "$SP_PATH/downloads/Fusion360installer.exe" "$WP_WINEPREFIXES_REFRESH/drive_c/users/$USER/Downloads"
|
||||
SP_FUSION360_INSTALL_START_1 & SP_FUSION360_INSTALL_REFRESH_STOP_1
|
||||
SP_FUSION360_INSTALL_START_2 & SP_FUSION360_INSTALL_REFRESH_STOP_2
|
||||
SP_FUSION360_INSTALL_PROGRESS_REFRESH
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
@@ -1051,6 +1049,38 @@ fi
|
||||
|
||||
###############################################################################################################################################################
|
||||
|
||||
function SP_FUSION360_INSTALL_PROGRESS {
|
||||
|
||||
SP_FUSION360_INSTALL_PROGRESS_MAIN () {
|
||||
echo "20"
|
||||
SP_FUSION360_INSTALL_START_1 & SP_FUSION360_INSTALL_STOP_1 # These two commands run in the same time.
|
||||
echo "70"
|
||||
SP_FUSION360_INSTALL_START_1 & SP_FUSION360_INSTALL_STOP_1 # These two commands run in the same time.
|
||||
sleep 5
|
||||
echo "100"
|
||||
}
|
||||
|
||||
SP_FUSION360_INSTALL_PROGRESS_MAIN | yad --progress --progress-text "$SP_INSTALL_PROGRESS_LABEL" --percentage=0 --auto-close
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
|
||||
function SP_FUSION360_INSTALL_PROGRESS_REFRESH {
|
||||
|
||||
SP_FUSION360_INSTALL_PROGRESS_MAIN_REFRESH () {
|
||||
echo "20"
|
||||
SP_FUSION360_INSTALL_REFRESH_START_1 & SP_FUSION360_INSTALL_REFRESH_STOP_1 # These two commands run in the same time.
|
||||
echo "70"
|
||||
SP_FUSION360_INSTALL_REFRESH_START_2 & SP_FUSION360_INSTALL_REFRESH_STOP_2 # These two commands run in the same time.
|
||||
sleep 5
|
||||
echo "100"
|
||||
}
|
||||
|
||||
SP_FUSION360_INSTALL_PROGRESS_MAIN_REFRESH | yad --progress --progress-text "$SP_INSTALL_PROGRESS_REFRESH_LABEL" --percentage=0 --auto-close
|
||||
}
|
||||
|
||||
###############################################################################################################################################################
|
||||
|
||||
function SP_FUSION360_EXTENSIONS {
|
||||
EXTENSIONS=$(yad --title="$SP_TITLE" --button=gtk-cancel:99 --button=gtk-ok:0 --height=300 --list --multiple --checklist --column=$SP_EXTENSION_SELECT --column=$SP_EXTENSION_NAME --column=$SP_EXTENSION_DESCRIPTION < $SP_EXTENSION_LIST)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user