From c20fe0874810d52515429fbec8f081f165312ce9 Mon Sep 17 00:00:00 2001 From: Steve Zabka <79079633+cryinkfly@users.noreply.github.com> Date: Wed, 31 May 2023 17:28:12 +0200 Subject: [PATCH] Update launcher.sh Solved the bug #319 --- files/builds/stable-branch/bin/launcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/builds/stable-branch/bin/launcher.sh b/files/builds/stable-branch/bin/launcher.sh index 55e9f58..21e1a83 100644 --- a/files/builds/stable-branch/bin/launcher.sh +++ b/files/builds/stable-branch/bin/launcher.sh @@ -58,7 +58,7 @@ function LAUNCHER_CHECK_UPDATE_VERSION { # 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 LAUNCHER_RUN_FUSION360 { - WINEPREFIX="$WP_BOX" FUSION_IDSDK=false WINEDEBUG=-all wine "C:\users\Public\Desktop\Autodesk Fusion 360.lnk" + LAUNCHER="$(find "$WP_BOX" -name Fusion360.exe -printf "%T+ %p\n" | sort -r 2>&1 | head -n 1 | sed -r 's/.+0000000000 (.+)/\1/')" && WINEPREFIX="$WP_BOX" FUSION_IDSDK=false WINEDEBUG=-all wine "$LAUNCHER" } ###############################################################################################################################################################