Remove obsolete bits from linux packaging
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#!/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
|
||||
@@ -20,7 +20,6 @@ mkdir -p $ROOTDIR/usr/bin/
|
||||
cp -T openra-bin $ROOTDIR/usr/bin/openra
|
||||
mkdir -p $ROOTDIR/usr/share/openra/
|
||||
cp -R $BUILTDIR/* "$ROOTDIR/usr/share/openra/" || exit 3
|
||||
cp OpenRA.Utility.sh $ROOTDIR/usr/share/openra/
|
||||
|
||||
# Desktop Icons
|
||||
mkdir -p $ROOTDIR/usr/share/applications/
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /usr/share/openra
|
||||
mono OpenRA.Game.exe SupportDir=~/.openra UtilityPath=OpenRA.Utility.sh "$@"
|
||||
mono OpenRA.Game.exe "$@"
|
||||
|
||||
Reference in New Issue
Block a user