mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-11-15 09:35:52 +01:00
Update autodesk_fusion_launcher.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user