summaryrefslogtreecommitdiff
path: root/branding
diff options
context:
space:
mode:
authorkali <kali@win>2020-10-30 21:48:11 +0100
committerkali kaneko (leap communications) <kali@leap.se>2020-11-04 12:33:38 +0100
commitb04607a7d97d59c09ac563fd257930d7ce406ad5 (patch)
tree8525ace2623f49db8a9ac9437b00e6c98737851a /branding
parent3dc345bc2b9f600974df6acce84ab671ab8c8e5d (diff)
[pkg] add windows release target
Also, install the tap driver silently. - Resolves: #366
Diffstat (limited to 'branding')
-rw-r--r--branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js b/branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js
index 63ba10d..0b065d6 100644
--- a/branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js
+++ b/branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js
@@ -91,9 +91,9 @@ Component.prototype.installationFinished = function()
}
function postInstallWindows() {
- console.log("Trying to install OpenVPN tap driver");
- component.addElevatedOperation("Execute", "@TargetDir@/tap-windows.exe"); /* TODO uninstall? */
- console.log("Now trying to installer our helper");
+ console.log("Installing OpenVPN tap driver");
+ component.addElevatedOperation("Execute", "@TargetDir@/tap-windows.exe", "/S", "/SELECT_UTILITIES=1"); /* TODO uninstall? */
+ console.log("Now trying to install our helper");
component.addElevatedOperation("Execute", "@TargetDir@/helper.exe", "install", "UNDOEXECUTE", "@TargetDir@/helper.exe", "remove");
component.addElevatedOperation("Execute", "@TargetDir@/helper.exe", "start", "UNDOEXECUTE", "@TargetDir@/helper.exe", "stop");
console.log("Adding shortcut entries/...");