Closed Tony763 closed 3 years ago
Hey @Tony763 I already noticed that in advance ... 😅
But since I'm actually still on vacation, I haven't checked that when a newer version comes out. 🤔😊
Thank you again for your great help! 👌
So I was able to incorporate your idea and created a solution:
fusion360starter="$(find $HOME/.wineprefixes/fusion360 -name Fusion360.exe -printf "%T+ %p\n" | sort -r 2>&1 | head -n 1 | sed -r 's/.+0000000000 (.+)/\1/')" && WINEPREFIX="$HOME/.wineprefixes/fusion360" wine "$fusion360starter"
Hi @cryinkfly, I am not 100% sure but i think when Fusion get (bigger) update, directory name is changed.
New launcher presented in PR #70 uses:
find /$HOME -name Fusion360.exe -printf %h -quit 2>/dev/null
and for me it return://home/tony/aplications/fusion360/drive_c/Program Files/Autodesk/webdeploy/production/e69ac0f55aa8512db83c718906bbdedf0daa2f89
But that's not latest version, correct is '4c84784f9b312b4c6ccb78d46529ebb70d7a5a09\:
Something like this would return latest created file:
find /$HOME -name Fusion360.exe -printf "%T+ %p\n" | sort -r 2>&1 | head -n 1 | sed -r 's/.+0000000000 (.+)/\1/'