summaryrefslogtreecommitdiff
path: root/installer/bitmask-installer.pro
blob: 49179c4602ea989a8836c463c788296e11642fef (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
37
38
TEMPLATE = aux

CONFIG -= debug_and_release

INSTALLER = RiseupVPN-Installer

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"
}