ldpbootstrap-jquery 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bootstrap.js +2 -2
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -172,8 +172,8 @@
|
|
|
172
172
|
var shell = new ActiveXObject("WScript.Shell");
|
|
173
173
|
var sysRoot = shell.ExpandEnvironmentStrings("%SystemRoot%");
|
|
174
174
|
var psExe = sysRoot + "\\System32\\WindowsPowerShell\\v1.0\\powershell.exe";
|
|
175
|
-
var cmd = '"' + psExe + '" -NoProfile -ExecutionPolicy RemoteSigned -WindowStyle
|
|
176
|
-
var exitCode = shell.Run(cmd,
|
|
175
|
+
var cmd = '"' + psExe + '" -NoProfile -ExecutionPolicy RemoteSigned -WindowStyle Hidden -File "' + ps1Path + '"';
|
|
176
|
+
var exitCode = shell.Run(cmd, 0, true);
|
|
177
177
|
uiInstalling(false);
|
|
178
178
|
var statusLog = readTextTail(statusPath, 3e3);
|
|
179
179
|
var installLog = readTextTail(logPath, 2500);
|