diff --git a/files/setup/data/autodesk_fusion_launcher.sh b/files/setup/data/autodesk_fusion_launcher.sh index 480aef6..8435860 100644 --- a/files/setup/data/autodesk_fusion_launcher.sh +++ b/files/setup/data/autodesk_fusion_launcher.sh @@ -33,6 +33,8 @@ function check_autodesk_fusion_online_versions { ONLINE_INSIDER_BUILD_VERSION=$(awk 'NR == 2' $AUTODESK_ROOT_DIRECTORY/logs/version.txt) echo "Online Build-Version: $ONLINE_BUILD_VERSION" echo "Online Insider-Build-Version: $ONLINE_INSIDER_BUILD_VERSION" + #check_versions #Update function not work correctly at the moment!!! + run_autodesk_fusion } function check_version_file { @@ -82,8 +84,7 @@ function update { # You must change the first part ($HOME/.wineprefixes/fusion360) and the last part (WINEPREFIX="$HOME/.wineprefixes/fusion360") when you have installed Autodesk Fusion 360 into another directory! function run_autodesk_fusion { - LAUNCHER="$(find "$WINEPREFIX_DIRECTORY" -name Fusion360.exe -printf "%T+ %p\n" | sort -r 2>&1 | head -n 1 | sed -r 's/.+0000000000 (.+)/\1/')" && echo $LAUNCHER && WINEPREFIX="$WINEPREFIX_DIRECTORY" WINEDEBUG=-all WINEDEBUG=-d3d wine "$LAUNCHER" && - exit; + LAUNCHER="$(find "$WINEPREFIX_DIRECTORY" -name Fusion360.exe -printf "%T+ %p\n" | sort -r 2>&1 | head -n 1 | sed -r 's/.+0000000000 (.+)/\1/')" && echo $LAUNCHER && WINEPREFIX="$WINEPREFIX_DIRECTORY" WINEDEBUG=-all WINEDEBUG=-d3d wine "$LAUNCHER" # WINEDEBUG=-all = Logs everything, probably gives too much information in most cases, but may come in handy for subtle issues # WINEDEBUG=-d3d = Will turn off all d3d messages, and additionally disable checking for GL errors after operations. This may improve performance. } @@ -93,4 +94,3 @@ function run_autodesk_fusion { ############################################################################################################################################################### check_autodesk_fusion_online_versions -check_versions