diff --git a/MSET9_installer_script/MSET9-Linux.desktop b/MSET9_installer_script/MSET9-Linux.desktop index ec2a4db..abd30cb 100644 --- a/MSET9_installer_script/MSET9-Linux.desktop +++ b/MSET9_installer_script/MSET9-Linux.desktop @@ -1,5 +1,5 @@ [Desktop Entry] Type=Application Name=MSET9 -Exec=bash -c 'cd "$(dirname %k)"; python3 mset9.py' -Terminal=true \ No newline at end of file +Exec=bash -c 'findmnt -t vfat -n -o TARGET | while read -r drive; do if [[ -f "$drive/mset9.py" ]]; then cd "$drive" && python3 mset9.py < /dev/tty; fi; done;' +Terminal=true