diff options
author | kali <kali@leap.se> | 2021-12-15 22:53:50 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-12-15 22:54:55 +0100 |
commit | a114b25c5720cedc93bec36e4fa822fe6cfa85b4 (patch) | |
tree | 0ac998ca88f6eef0715d0aae35e7476adde7e24a /gui/main.qml | |
parent | f336f8f0946c595e6c65c0bb6c7756c19bd30909 (diff) |
[pkg] fix calyx build for osx
- binary name is different in the osx bundle, theme won't load
- calyx is not ready for tls 1.2 yet
Diffstat (limited to 'gui/main.qml')
-rw-r--r-- | gui/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/main.qml b/gui/main.qml index f6660df..2d75790 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -164,9 +164,9 @@ ApplicationWindow { } var providerFlavor = arr[arr.length-1] console.debug("flavor: " + providerFlavor) - if (providerFlavor.startsWith("riseup-vpn")) { + if (providerFlavor.startsWith("riseup-vpn") || providerFlavor == "RiseupVPN") { return "themes/Riseup.qml" - } else if (providerFlavor.startsWith("calyx-vpn")) { + } else if (providerFlavor.startsWith("calyx-vpn") || providerFlavor == "CalyxVPN") { return "themes/Calyx.qml" } else { // we should do a Default theme, with a fallback |