Die Bash -Datei funktioniert von Terminal, jedoch nicht von der Desktop -Datei

For me the exec was marked with "sh path/to/file.sh"
I changed it to
Exec=bash path/to/file.sh
and now it works ¯\_(ツ)_/¯
Flyhouse_Squarewheel