mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2026-05-07 22:07:55 +02:00
Fusion get a (bigger) update
When Fusion get a (bigger) update then it could happen that a new folder is created in which the Fusion360.exe is also located! With this change, the latest version will be selected and started up for you. 👍 Thanks to the user @Tony763 for his [help](https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/issues/71#issue-982958482)!
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=Autodesk Fusion 360
|
||||
Comment=This program launcher only works if you selected the standard installation when installing Autodesk Fusion 360!
|
||||
Exec=cd "$(find /$HOME -name Fusion360.exe -printf %h -quit 2>/dev/null)" && WINEPREFIX="/$HOME/$USER/.wineprefixes/fusion360" wine Fusion360.exe
|
||||
Exec=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"
|
||||
Type=Application
|
||||
Categories=Development;Graphics;Science
|
||||
StartupNotify=true
|
||||
|
||||
Reference in New Issue
Block a user