diff options
author | kali <kali@win> | 2020-10-15 18:12:46 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-10-23 23:22:55 +0200 |
commit | 4ac0fd8ecfa1bf0aa394c38d5b7f4f60ca23842b (patch) | |
tree | 83d6b353c38cd03f96f274382a034833be08b997 /branding/templates/qtinstaller | |
parent | a540f3f4e5524b5daf813b0bb831707f58545d43 (diff) |
[pkg] install tap driver on windows
Diffstat (limited to 'branding/templates/qtinstaller')
-rw-r--r-- | branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js b/branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js index d69f262..63ba10d 100644 --- a/branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js +++ b/branding/templates/qtinstaller/packages/bitmaskvpn/meta/install.js @@ -91,9 +91,12 @@ 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"); 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"); + console.log("Adding shortcut entries/..."); component.addElevatedOperation("Mkdir", "@StartMenuDir@"); component.addElevatedOperation("CreateShortcut", "@TargetDir@/$BINNAME.exe", "@StartMenuDir@/$APPNAME.lnk", "workingDirectory=@TargetDir@", "iconPath=@TargetDir@/icon.ico", "description=Start $APPNAME"); |