summaryrefslogtreecommitdiff
path: root/branding/templates/qtinstaller/installer.pro
blob: ec800c191daaf16e47a8d89cfccd6421978e5436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"
}