浏览代码

fix(bundler): fix order of webview2 installer args in nsis bundle (#6042)

Fabian-Lars 2 年之前
父节点
当前提交
01b876761a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tooling/bundler/src/bundle/windows/templates/installer.nsi

+ 1 - 1
tooling/bundler/src/bundle/windows/templates/installer.nsi

@@ -319,7 +319,7 @@ Section Webview2
   install_webview2:
     DetailPrint "Installing Webview2..."
     ; $6 holds the path to the webview2 installer
-    ExecWait "$6 /install ${WEBVIEW2INSTALLERARGS}" $1
+    ExecWait "$6 ${WEBVIEW2INSTALLERARGS} /install" $1
     ${If} $1 == 0
       DetailPrint "Webview2 installed sucessfully"
     ${Else}