Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Clonk.exe umbenennen und einen symbolischen link zum shellscript machen damit mit linux clonk gestartet wird
- # $ ln -s <pfad_zu_dieser_date> <pfad_zu_clonk>/Clonk.exe
- # In den Editoreinstellungen alle externen Programme mit absolutem Pfad auf diese Datei angeben z.B. /home/username/editor.sh
- # Und dieses Skript ausführbar machen:
- # $ chmod +x skript.sh
- if [ $(echo $0 | sed s/".*\(Clonk\\.exe\)/\1/") == "Clonk.exe" ]
- then
- <pfad_zu_clonk>/clonk64 "${@:1:$(($#-1))}" $(winepath --unix "$BASH_ARGV")
- # Pfad zur (Linux-)Clonk Executable entsprechend anpassen
- else
- xdg-open $(winepath --unix "$1")
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement