Преглед на файлове

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}