Files
OpenRA/packaging/linux/OpenRA.Utility.sh
2011-05-04 20:24:04 +12:00

10 lines
256 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