package .desktop files for map editor on Linux, too
move desura scripts into packaging sub-directory
This commit is contained in:
@@ -18,15 +18,17 @@ rm -rf $ROOTDIR
|
||||
# Game files
|
||||
mkdir -p $ROOTDIR/usr/bin/
|
||||
cp -T openra-bin $ROOTDIR/usr/bin/openra
|
||||
cp -T openra-editor-bin $ROOTDIR/usr/bin/openra-editor
|
||||
mkdir -p $ROOTDIR/usr/share/openra/
|
||||
cp -R $BUILTDIR/* "$ROOTDIR/usr/share/openra/" || exit 3
|
||||
|
||||
# Desura launch scripts
|
||||
cp ../../*.sh "$ROOTDIR/usr/share/openra/" || exit 3
|
||||
cp desura* "$ROOTDIR/usr/share/openra/" || exit 3
|
||||
|
||||
# Desktop Icons
|
||||
mkdir -p $ROOTDIR/usr/share/applications/
|
||||
cp openra.desktop "$ROOTDIR/usr/share/applications/"
|
||||
cp *.desktop "$ROOTDIR/usr/share/applications/"
|
||||
|
||||
mkdir -p $ROOTDIR/usr/share/icons/
|
||||
cp -r hicolor $ROOTDIR/usr/share/icons/
|
||||
|
||||
BIN
packaging/linux/hicolor/32x32/apps/openra-editor.png
Normal file
BIN
packaging/linux/hicolor/32x32/apps/openra-editor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
BIN
packaging/linux/hicolor/48x48/apps/openra-editor.png
Normal file
BIN
packaging/linux/hicolor/48x48/apps/openra-editor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
3
packaging/linux/openra-editor-bin
Executable file
3
packaging/linux/openra-editor-bin
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /usr/share/openra
|
||||
mono OpenRA.Editor.exe "$@"
|
||||
10
packaging/linux/openra-editor.desktop
Normal file
10
packaging/linux/openra-editor.desktop
Normal file
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=OpenRA Map Editor
|
||||
GenericName=Tile based RTS game map editor
|
||||
Comment=Import legacy maps and create new ones from scratch
|
||||
Icon=openra-editor
|
||||
Exec=openra-editor
|
||||
Terminal=false
|
||||
Categories=Game;StrategyGame;
|
||||
Reference in New Issue
Block a user