Files
OpenRA/packaging/linux/OpenRA.Utility.sh
2011-05-22 20:38:58 +12:00

11 lines
259 B
Bash
Executable File

#!/bin/bash
# OpenRA utility wrapper for linux systems with zenity
if [[ "$1" == "--display-filepicker" ]]; then
if command -v zenity > /dev/null ; then
zenity --file-selection --title "$2"
else
mono OpenRA.Utility.exe "$@"
fi
fi