summaryrefslogtreecommitdiff
path: root/branding/templates/qtinstaller/installer.pro
diff options
context:
space:
mode:
Diffstat (limited to 'branding/templates/qtinstaller/installer.pro')
-rw-r--r--branding/templates/qtinstaller/installer.pro36
1 files changed, 36 insertions, 0 deletions
diff --git a/branding/templates/qtinstaller/installer.pro b/branding/templates/qtinstaller/installer.pro
new file mode 100644
index 0000000..ec800c1
--- /dev/null
+++ b/branding/templates/qtinstaller/installer.pro
@@ -0,0 +1,36 @@
+!defined(INSTALLER, var):INSTALLER= "BitmaskVPN-Installer-git"
+TEMPLATE = aux
+CONFIG -= debug_and_release
+
+INPUT = $$PWD/config/config.xml $$PWD/packages
+inst.input = INPUT
+inst.output = $$INSTALLER
+inst.commands = binarycreator -c $$PWD/config/config.xml -p $$PWD/packages ${QMAKE_FILE_OUT}
+inst.CONFIG += target_predeps no_link combine
+
+QMAKE_EXTRA_COMPILERS += inst
+
+OTHER_FILES += \
+# watch out... it chokes with dashes in the path
+ packages/riseupvpn/meta/package.xml \
+ packages/riseupvpn/meta/install.js \
+ packages/riseupvpn/data/README.txt \
+
+macx {
+ OTHER_FILES += "packages/riseupvpn/data/riseup-vpn.app"
+ OTHER_FILES += "packages/riseupvpn/data/bitmask-helper"
+ OTHER_FILES += "packages/riseupvpn/data/installer.py"
+ OTHER_FILES += "packages/riseupvpn/data/se.leap.bitmask-helper.plist"
+ OTHER_FILES += "packages/riseupvpn/data/openvpn.leap"
+ OTHER_FILES += "packages/riseupvpn/data/helper/bitmask.pf.conf"
+ OTHER_FILES += "packages/riseupvpn/data/client.up.sh"
+ OTHER_FILES += "packages/riseupvpn/data/client.down.sh"
+}
+linux {
+ OTHER_FILES += "packages/riseupvpn/data/riseup-vpn"
+ OTHER_FILES += "packages/riseupvpn/data/bitmask-helper"
+}
+win32{
+ OTHER_FILES += "packages/riseupvpn/data/riseup-vpn.exe"
+ OTHER_FILES += "packages/riseupvpn/data/helper.exe"
+}