summary refs log tree commit diff stats
path: root/osx/makebundle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'osx/makebundle.sh')
-rwxr-xr-xosx/makebundle.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/osx/makebundle.sh b/osx/makebundle.sh
new file mode 100755
index 00000000..24130aa1
--- /dev/null
+++ b/osx/makebundle.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ -z "$JHBUILD_PREFIX" ]; then
+	echo "You must run this within a jhbuild shell."
+	exit 1
+fi
+
+if [ ! -f $JHBUILD_PREFIX/bin/python ]; then
+	echo "You must install python with jhbuild."
+	exit 1
+fi
+
+rm -rf HexChat.app
+
+$JHBUILD_PREFIX/bin/python $HOME/.local/bin/gtk-mac-bundler hexchat.bundle