2025-04-19 09:56:12 +02:00
#!/usr/bin/env bash
2025-04-19 10:21:26 +02:00
###############################################################################################################################################################
# THE INITIALIZATION OF DEPENDENCIES STARTS HERE: #
###############################################################################################################################################################
# CONFIGURATION OF THE COLOR SCHEME:
RED = $'\033[0;31m'
YELLOW = $'\033[0;33m'
GREEN = $'\033[0;32m'
NOCOLOR = $'\033[0m'
2025-04-19 12:43:14 +02:00
# GET THE VALUES OF THE PASSED ARGUMENTS AND ASSIGN THEM TO VARIABLES:
SELECTED_OPTION = " $1 "
SELECTED_DRIVER = " $2 "
SELECTED_EXTENSIONS = " $3 "
2025-04-19 12:45:05 +02:00
# For example: ./autodesk_fusion_installer_x86-64.sh --install --dxvk --full
2025-04-19 12:43:14 +02:00
2025-04-19 11:58:50 +02:00
SELECTED_DIRECTORY = " $HOME /.autodesk/autodesk_fusion "
2025-04-22 16:57:23 +02:00
# if selected_extensions is set to --full, then all extensions will be installed
if [ " $SELECTED_EXTENSIONS " = = "--full" ] ; then
SELECTED_EXTENSIONS = "CzechlocalizationforF360,HP3DPrintersforAutodesk®Fusion®,MarkforgedforAutodesk®Fusion®,OctoPrintforAutodesk®Fusion360™,UltimakerDigitalFactoryforAutodeskFusion360™"
else
SELECTED_EXTENSIONS = ""
fi
2025-04-19 11:58:50 +02:00
# URL to download winetricks
WINETRICKS_URL = "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"
# URL to download Fusion360Installer.exe files
# AUTODESK_FUSION_INSTALLER_URL="https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe" <-- Old Link!!!
AUTODESK_FUSION_INSTALLER_URL = "https://dl.appstreaming.autodesk.com/production/installers/Fusion%20Admin%20Install.exe"
# AUTODESK_FUSION_INSTALLER_URL="https://dl.appstreaming.autodesk.com/production/installers/Fusion%20Client%20Downloader.exe" <-- Alternative Link!!!
# URL to download Microsoft Edge WebView2.Exec
# WEBVIEW2_INSTALLER_URL="https://github.com/aedancullen/webview2-evergreen-standalone-installer-archive/releases/download/109.0.1518.78/MicrosoftEdgeWebView2RuntimeInstallerX64.exe" <-- Old Link!!!
WEBVIEW2_INSTALLER_URL = "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/76eb3dc4-7851-45b7-a392-460523b0e2bb/MicrosoftEdgeWebView2RuntimeInstallerX64.exe"
# URL to download the patched Qt6WebEngineCore.dll file
QT6_WEBENGINECORE_URL = "https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/extras/patched-dlls/Qt6WebEngineCore.dll.7z"
# URL to download the patched siappdll.dll file
SIAPPDLL_URL = "https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/extras/patched-dlls/siappdll.dll"
2025-04-19 10:21:26 +02:00
###############################################################################################################################################################
# ALL FUNCTIONS ARE HERE: #
###############################################################################################################################################################
2025-04-22 16:57:23 +02:00
function check_options( ) {
case " $1 " in
"--uninstall" )
clear
echo -e " $( gettext " ${ YELLOW } Starting the uninstallation process ... ${ NOCOLOR } " ) "
read -p " $( gettext " ${ GREEN } Do you really want to uninstall Autodesk Fusion? ${ NOCOLOR } [y/n] " ) " yn
case " $yn " in
[ Yy] * )
echo -e " $( gettext " ${ RED } Uninstalling Autodesk Fusion with all Wineprefixes and components... ${ NOCOLOR } " ) "
rm -rf " $SELECTED_DIRECTORY "
rm -f " $HOME /.local/share/applications/wine/Programs/Autodesk/Autodesk Fusion.desktop "
rm -f " $HOME /.local/share/applications/adskidmgr-opener.desktop "
echo -e " $( gettext " ${ GREEN } Autodesk Fusion has been uninstalled successfully! ${ NOCOLOR } " ) "
2025-04-22 16:59:00 +02:00
exit; ;
2025-04-22 16:57:23 +02:00
[ Nn] * )
echo -e " $( gettext " ${ GREEN } The uninstallation process has been canceled! ${ NOCOLOR } " ) "
2025-04-22 16:59:00 +02:00
exit; ;
2025-04-22 16:57:23 +02:00
* )
echo -e " $( gettext " ${ YELLOW } Please answer with yes or no! ${ NOCOLOR } " ) "
2025-04-22 16:59:00 +02:00
exit; ;
esac ; ;
2025-04-22 16:57:23 +02:00
"--install" )
echo -e " $( gettext " ${ GREEN } Starting the installation process ... ${ NOCOLOR } " ) "
sleep 2
check_if_wine_exists
create_data_structure
download_files
create_adskidmgr_opener
wineprefix_config
install_autodesk_fusion
autodesk_fusion_dlls_config
install_autodesk_fusion_extensions
exit; ;
"--install-extension" )
if [ -f " $SELECTED_DIRECTORY " ] ; then
install_autodesk_fusion_extensions
else
echo -e " $( gettext " ${ RED } ❌ There is no a installation of Autodesk Fusion. The installer will be terminated. ${ NOCOLOR } " ) "
exit; ;
fi
*)
echo -e " $( gettext " ${ RED } Invalid option! Please use the --install or --uninstall flag! " ) ${ NOCOLOR } " ;
exit; ;
esac
}
###############################################################################################################################################################
function check_if_wine_exists( ) {
2025-04-19 10:21:26 +02:00
if command -v wine & > /dev/null; then
2025-04-19 11:58:50 +02:00
echo -e " $( gettext " ${ GREEN } ✅ Wine is installed. The installer will be continued. ${ NOCOLOR } " ) "
2025-04-19 10:21:26 +02:00
else
2025-04-19 11:58:50 +02:00
echo -e " $( gettext " ${ RED } ❌ Wine is not installed. The installer will be terminated. ${ NOCOLOR } " ) "
2025-04-19 10:21:26 +02:00
exit 1
fi
}
2025-04-22 16:57:23 +02:00
###############################################################################################################################################################
function create_data_structure( ) {
2025-04-19 11:58:50 +02:00
local dirs = (
" $SELECTED_DIRECTORY "
" $SELECTED_DIRECTORY /cache "
" $SELECTED_DIRECTORY /cache/DLLs "
" $SELECTED_DIRECTORY /cache/extensions "
" $SELECTED_DIRECTORY /logs "
" $SELECTED_DIRECTORY /wineprefix/autodesk_fusion "
)
mkdir -p " ${ dirs [@] } "
}
2025-04-22 16:57:23 +02:00
###############################################################################################################################################################
function download_files( ) {
2025-04-19 11:58:50 +02:00
# Download the newest winetricks version:
echo -e " $( gettext " ${ YELLOW } Downloading the latest version of Winetricks... ${ NOCOLOR } " ) "
curl -L " $WINETRICKS_URL " -o " $SELECTED_DIRECTORY /winetricks "
chmod +x " $SELECTED_DIRECTORY /winetricks "
echo -e " $( gettext " ${ GREEN } The latest winetricks version is downloaded and configured. ${ NOCOLOR } " ) "
# Search for an existing installer of Autodesk Fusion
AUTODESK_FUSION_INSTALLER = " $SELECTED_DIRECTORY /cache/FusionClientInstaller.exe "
if [ -f " $AUTODESK_FUSION_INSTALLER " ] ; then
echo -e " $( gettext " ${ GREEN } The latest Autodesk Fusion installer has been found. ${ NOCOLOR } " ) "
else
echo -e " $( gettext " ${ YELLOW } Downloading the latest version of the Autodesk Fusion installer. ${ NOCOLOR } " ) "
curl -L " $AUTODESK_FUSION_INSTALLER_URL " -o " $AUTODESK_FUSION_INSTALLER "
echo -e " $( gettext " ${ GREEN } The latest version of the Autodesk Fusion installer is downloaded. ${ NOCOLOR } " ) "
fi
# Search for an existing installer of WEBVIEW2
WEBVIEW2_INSTALLER = " $SELECTED_DIRECTORY /cache/WebView2installer.exe "
if [ -f " $WEBVIEW2_INSTALLER " ] ; then
echo -e " $( gettext " ${ GREEN } The latest WebView2 installer has been found. ${ NOCOLOR } " ) "
else
echo -e " $( gettext " ${ YELLOW } Downloading the latest version of the WebView2 installer. ${ NOCOLOR } " ) "
curl -L " $WEBVIEW2_INSTALLER_URL " -o " $WEBVIEW2_INSTALLER "
echo -e " $( gettext " ${ GREEN } The latest version of the WebView2 installer is downloaded. ${ NOCOLOR } " ) "
fi
# Download all verified/tested extensions for Autodesk Fusion
echo -e " $( gettext " ${ YELLOW } Downloading all verified/tested for Autodesk Fusion. ${ NOCOLOR } " ) "
local extensions = (
"Ceska_lokalizace_pro_Autodesk_Fusion.exe|https://www.cadstudio.cz/dl/Ceska_lokalizace_pro_Autodesk_Fusion_360.exe"
"HP_3DPrinters_for_Fusion360-win64.msi|https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/HP_3DPrinters_for_Fusion360-win64.msi"
"Markforged_for_Fusion360-win64.msi|https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/Markforged_for_Fusion360-win64.msi"
"OctoPrint_for_Fusion360-win64.msi|https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/OctoPrint_for_Fusion360-win64.msi"
"Ultimaker_Digital_Factory-win64.msi|https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/Ultimaker_Digital_Factory-win64.msi"
)
for entry in " ${ extensions [@] } " ; do
local EXTENSION_FILE_NAME = " ${ entry %%|* } "
local EXTENSION_FILE_URL = " ${ entry ##*| } "
local EXTENSION_FILE_DIRECTORY = " $SELECTED_DIRECTORY /cache/extensions/ $EXTENSION_FILE_NAME "
mkdir -p " $( dirname " $EXTENSION_FILE_DIRECTORY " ) "
# Search for all existing installers of the extensions
if [ -f " $EXTENSION_FILE_DIRECTORY " ] ; then
echo -e " $( gettext " ${ GREEN } The $EXTENSION_FILE_NAME has been found. ${ NOCOLOR } " ) "
else
echo -e " $( gettext " ${ YELLOW } Downloading the latest version of $EXTENSION_FILE_NAME . ${ NOCOLOR } " ) "
curl -fL " $EXTENSION_FILE_URL " -o " $EXTENSION_FILE_DIRECTORY " || echo -e " $( gettext " ${ RED } Failed to download $EXTENSION_FILE_NAME ${ NOCOLOR } " ) "
fi
done
echo -e " $( gettext " ${ GREEN } All tested extensions for Autodesk Fusion on Linux are downloaded! ${ NOCOLOR } " ) "
# Download the patched Qt6WebEngineCore.dll file
QT6_WEBENGINECORE_DLL = " $SELECTED_DIRECTORY /cache/DLLs/Qt6WebEngineCore.dll.7z "
if [ -f " $QT6_WEBENGINECORE_DLL " ] ; then
echo -e " $( gettext " ${ GREEN } The latest patched Qt6WebEngineCore.dll file has been found. ${ NOCOLOR } " ) "
else
echo -e " $( gettext " ${ YELLOW } Downloading the latest patched Qt6WebEngineCore.dll file. ${ NOCOLOR } " ) "
curl -L " $QT6_WEBENGINECORE_URL " -o " $QT6_WEBENGINECORE_DLL "
echo -e " $( gettext " ${ GREEN } The latest patched Qt6WebEngineCore.dll file. ${ NOCOLOR } " ) "
fi
# Extract the patched the 6WebEngineCore.dll.7z file with overwrite option
2025-04-19 19:02:54 +02:00
7za x -y -o" $SELECTED_DIRECTORY /cache/DLLs/ " " $SELECTED_DIRECTORY /cache/DLLs/Qt6WebEngineCore.dll.7z "
2025-04-19 11:58:50 +02:00
# Download the patched siappdll.dll file
SIAPPDLL_DLL = " $SELECTED_DIRECTORY /cache/DLLs/siappdll.dll "
if [ -f " $SIAPPDLL_DLL " ] ; then
echo -e " $( gettext " ${ GREEN } The latest patched siappdll.dll file has been found. ${ NOCOLOR } " ) "
else
echo -e " $( gettext " ${ YELLOW } Downloading the latest patched siappdll.dll file. ${ NOCOLOR } " ) "
curl -L " $SIAPPDLL_URL " -o " $SIAPPDLL_DLL "
echo -e " $( gettext " ${ GREEN } The latest patched siappdll.dll file. ${ NOCOLOR } " ) "
fi
}
2025-04-22 16:57:23 +02:00
###############################################################################################################################################################
function create_adskidmgr_opener( ) {
2025-04-19 12:25:06 +02:00
cat > " $HOME /.local/share/applications/adskidmgr-opener.desktop " << EOL
[ Desktop Entry]
Type = Application
Name = adskidmgr Scheme Handler
Exec = sh -c 'env WINEPREFIX="$SELECTED_DIRECTORY/wineprefix/autodesk_fusion" wine "\$(find \$SELECTED_DIRECTORY/wineprefix/autodesk_fusion/ -name "AdskIdentityManager.exe" | head -1 | xargs -I "{}" echo {})" "%u"'
StartupNotify = false
MimeType = x-scheme-handler/adskidmgr;
EOL
#Set the mimetype handler for the Identity Manager
xdg-mime default adskidmgr-opener.desktop x-scheme-handler/adskidmgr
}
2025-04-22 16:57:23 +02:00
###############################################################################################################################################################
function wineprefix_config( ) {
2025-04-19 12:25:06 +02:00
# Note that the winetricks sandbox verb merely removes the desktop integration and Z: drive symlinks and is not a "true" sandbox.
# It protects against errors rather than malice. It's useful for, e.g., keeping games from saving their settings in random subdirectories of your home directory.
# But it still ensures that wine, for example, no longer has access permissions to Home!
# For this reason, the EXE files must be located directly in the Wineprefix folder!
cd " $SELECTED_DIRECTORY " || return
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " sh "winetricks" -q sandbox # Activate the Sandbox-Mode!
2025-04-19 12:43:14 +02:00
sleep 1s
2025-04-19 12:25:06 +02:00
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " sh "winetricks" -q atmlib gdiplus arial corefonts cjkfonts dotnet452 msxml4 msxml6 vcrun2017 fontsmooth = rgb winhttp win10
# We must install cjkfonts again then sometimes it doesn't work in the first time!
sleep 1s
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " sh "winetricks" -q cjkfonts
# We must set to Windows 10 again because sometimes winetricks set it back to Windows XP!
sleep 1s
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " sh "winetricks" -q win10
# Configuring some DLL-Overrides
2025-04-19 12:43:14 +02:00
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine REG ADD "HKCU\Software\Wine\DllOverrides" /v "adpclientservice.exe" /t REG_SZ /d "" /f # Removed tracking metrics and disabled calling home!
2025-04-19 12:25:06 +02:00
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine REG ADD "HKCU\Software\Wine\DllOverrides" /v "AdCefWebBrowser.exe" /t REG_SZ /d builtin /f
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine REG ADD "HKCU\Software\Wine\DllOverrides" /v "msvcp140" /t REG_SZ /d native /f
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine REG ADD "HKCU\Software\Wine\DllOverrides" /v "mfc140u" /t REG_SZ /d native /f
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine REG ADD "HKCU\Software\Wine\DllOverrides" /v "bcp47langs" /t REG_SZ /d "" /f # Fixed bcp47langs issue, login is working now!
# Optional - Configuring the correct virtual desktop resolution
# WINEPREFIX="$SELECTED_DIRECTORY/wineprefix/autodesk_fusion" sh "winetricks" -q vd="MONITOR_RESOLUTION" # For example: 1920x1080
# Install the latest version of WebView2 to handle Login attempts, required even though we redirect to your default browser!
2025-04-19 19:02:54 +02:00
cp -f " $WEBVIEW2_INSTALLER " " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /Downloads/WebView2installer.exe "
2025-04-19 12:25:06 +02:00
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /Downloads/WebView2installer.exe " /silent /install
# Pre-create a shortcut directory for the latest re-branding Microsoft Edge WebView2
mkdir -p " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /AppData/Roaming/Microsoft/Internet Explorer/Quick Launch/User Pinned/ "
2025-04-19 12:43:14 +02:00
sleep 1s
# Check the selected GPU driver (DXVK or OpenGL)
if [ " $SELECTED_DRIVER " = "dxvk" ] ; then
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " sh "winetricks" -q dxvk
sleep 1s
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine REG ADD "HKCU\Software\Wine\DllOverrides" /v "d3d10core" /t REG_SZ /d native /f
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine REG ADD "HKCU\Software\Wine\DllOverrides" /v "d3d11" /t REG_SZ /d native /f
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine REG ADD "HKCU\Software\Wine\DllOverrides" /v "d3d9" /t REG_SZ /d builtin /f
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine REG ADD "HKCU\Software\Wine\DllOverrides" /v "dxgi" /t REG_SZ /d native /f
else
curl -L https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/setup/resource/video_driver/opengl/NMachineSpecificOptions.xml -o " $SELECTED_DIRECTORY /cache/NMachineSpecificOptions.xml "
mkdir -p " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /AppData/Roaming/Autodesk/Neutron Platform/Options "
cp -f " $SELECTED_DIRECTORY /cache/NMachineSpecificOptions.xml " " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /AppData/Roaming/Autodesk/Neutron Platform/Options/NMachineSpecificOptions.xml "
2025-04-19 12:25:06 +02:00
}
2025-04-22 16:57:23 +02:00
###############################################################################################################################################################
function install_autodesk_fusion( ) {
2025-04-19 19:02:54 +02:00
cp -f " $AUTODESK_FUSION_INSTALLER " " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /Downloads/FusionClientInstaller.exe "
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /Downloads/FusionClientInstaller.exe " --quiet
sleep 1s
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /Downloads/FusionClientInstaller.exe " --quiet
}
2025-04-22 16:57:23 +02:00
###############################################################################################################################################################
function autodesk_fusion_dlls_config( ) {
2025-04-19 19:02:54 +02:00
# Find the newest Qt6WebEngineCore.dll file
QT6_WEBENGINECORE = $( find " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " -type f -name 'Qt6WebEngineCore.dll' -printf '%T@ %p\n' 2>/dev/null | sort -nr | head -n1 | cut -d' ' -f2-)
2025-04-22 16:57:23 +02:00
# Get the newest directory of the Qt6WebEngineCore.dll for overriding progress
AUTODESK_FUSION_DIR = $( dirname " $QT6_WEBENGINECORE " )
2025-04-19 19:02:54 +02:00
# Check if the Qt6WebEngineCore.dll file actually exists before backing it up
if [ -f " $QT6_WEBENGINECORE " ] ; then
# Backup the Qt6WebEngineCore.dll file
2025-04-22 16:57:23 +02:00
cp -f " $QT6_WEBENGINECORE " " $AUTODESK_FUSION_DIR /Qt6WebEngineCore.dll.bak "
2025-04-19 19:02:54 +02:00
# Override the original Qt6WebEngineCore.dll with the patched version
2025-04-22 16:57:23 +02:00
cp -f " $SELECTED_DIRECTORY /cache/DLLs/Qt6WebEngineCore.dll " " $AUTODESK_FUSION_DIR /Qt6WebEngineCore.dll "
2025-04-19 19:02:54 +02:00
else
# Override the original Qt6WebEngineCore.dll with the patched version
2025-04-22 16:57:23 +02:00
cp -f " $SELECTED_DIRECTORY /cache/DLLs/Qt6WebEngineCore.dll " " $AUTODESK_FUSION_DIR /Qt6WebEngineCore.dll "
fi
# Check if the siappdll.dll file actually exists before backing it up
if [ -f " $AUTODESK_FUSION_DIR /siappdll.dll " ] ; then
# Backup the siappdll.dll file
cp -f " $AUTODESK_FUSION_DIR /siappdll.dll " " $AUTODESK_FUSION_DIR /siappdll.dll.bak "
# Override the original siappdll.dll with the patched version
cp -f " $SELECTED_DIRECTORY /cache/DLLs/siappdll.dll " " $AUTODESK_FUSION_DIR /siappdll.dll "
else
# Override the original siappdll.dll with the patched version
cp -f " $SELECTED_DIRECTORY /cache/DLLs/siappdll.dll " " $AUTODESK_FUSION_DIR /siappdll.dll "
2025-04-19 19:02:54 +02:00
fi
}
2025-04-19 12:43:14 +02:00
2025-04-22 16:57:23 +02:00
###############################################################################################################################################################
function install_autodesk_fusion_extensions( ) {
local run_install_extension_client( ) {
local EXTENSION_FILE = " $1 "
cp " $SELECTED_DIRECTORY /cache/extensions/ $EXTENSION_FILE " " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /Downloads "
if [ [ " $EXTENSION_FILE " = = *.msi ] ] ; then
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine msiexec /i " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /Downloads/ $EXTENSION_FILE "
else
WINEPREFIX = " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion " wine " $SELECTED_DIRECTORY /wineprefix/autodesk_fusion/drive_c/users/ $USER /Downloads/ $EXTENSION_FILE "
fi
}
if [ [ " $SELECTED_EXTENSIONS " = = *"CzechlocalizationforF360" * ] ] ; then
run_install_extension_client "Ceska_lokalizace_pro_Autodesk_Fusion_360.exe"
fi
if [ [ " $SELECTED_EXTENSIONS " = = *"HP3DPrintersforAutodesk®Fusion®" * ] ] ; then
run_install_extension_client "HP_3DPrinters_for_Fusion360-win64.msi"
fi
if [ [ " $SELECTED_EXTENSIONS " = = *"MarkforgedforAutodesk®Fusion®" * ] ] ; then
run_install_extension_client "Markforged_for_Fusion360-win64.msi"
fi
if [ [ " $SELECTED_EXTENSIONS " = = *"OctoPrintforAutodesk®Fusion360™" * ] ] ; then
run_install_extension_client "OctoPrint_for_Fusion360-win64.msi"
fi
if [ [ " $SELECTED_EXTENSIONS " = = *"UltimakerDigitalFactoryforAutodeskFusion360™" * ] ] ; then
run_install_extension_client "Ultimaker_Digital_Factory-win64.msi"
fi
}
2025-04-19 10:21:26 +02:00
###############################################################################################################################################################
2025-04-19 19:02:54 +02:00
# THE PROGRAM STARTED HERE: #
2025-04-19 10:21:26 +02:00
###############################################################################################################################################################
2025-04-22 16:57:23 +02:00
check_options
2025-04-19 11:58:50 +02:00