Show a python GTK3 dialog if zenity is missing.

This commit is contained in:
Paul Chote
2018-07-01 16:51:51 +00:00
parent 29442cec13
commit 01a613a057
4 changed files with 61 additions and 5 deletions

View File

@@ -114,6 +114,8 @@ build_appimage() {
sed "s/{MODID}/${MOD_ID}/g" openra-server.appimage.in > openra-mod-server.temp
install -m 0755 openra-mod-server.temp "${APPDIR}/usr/bin/openra-${MOD_ID}-server"
install -m 0755 gtk-dialog.py "${APPDIR}/usr/bin/gtk-dialog.py"
# travis-ci doesn't support mounting FUSE filesystems so extract and run the contents manually
./appimagetool-x86_64.AppImage --appimage-extract
@@ -133,4 +135,4 @@ build_appimage "cnc" "Tiberian Dawn"
build_appimage "d2k" "Dune 2000"
# Clean up
rm -rf openra-mod.temp openra-mod-server.temp temp.desktop temp.xml AppRun.temp appimagetool-x86_64.AppImage squashfs-root "${BUILTDIR}"
rm -rf openra-mod.temp openra-mod-server.temp temp.desktop temp.xml AppRun.temp appimagetool-x86_64.AppImage squashfs-root "${BUILTDIR}"