viberoom 0.6.0 → 0.6.1
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/main.js +1 -1
- package/dist/recipes.js +2 -1
- package/dist/shortcuts.js +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -226,7 +226,7 @@ function openWindow(url, options, log) {
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
log.info("opening the default browser");
|
|
229
|
-
exec(openUrlCommand(url), () => undefined);
|
|
229
|
+
exec(openUrlCommand(url), { windowsHide: true }, () => undefined);
|
|
230
230
|
}
|
|
231
231
|
async function runDoctor(options, info) {
|
|
232
232
|
const lines = [];
|
package/dist/recipes.js
CHANGED
|
@@ -26,7 +26,7 @@ function resolveGlobalNpmRoot() {
|
|
|
26
26
|
if (isWindows && process.env.APPDATA)
|
|
27
27
|
candidates.push(join(process.env.APPDATA, "npm", "node_modules"));
|
|
28
28
|
try {
|
|
29
|
-
const out = execSync("npm root -g", { encoding: "utf8", shell: isWindows ? "cmd.exe" : "/bin/sh", stdio: ["ignore", "pipe", "ignore"] }).trim();
|
|
29
|
+
const out = execSync("npm root -g", { encoding: "utf8", shell: isWindows ? "cmd.exe" : "/bin/sh", stdio: ["ignore", "pipe", "ignore"], windowsHide: true }).trim();
|
|
30
30
|
if (out)
|
|
31
31
|
candidates.push(out);
|
|
32
32
|
}
|
|
@@ -72,6 +72,7 @@ function resolveOnPath(names) {
|
|
|
72
72
|
encoding: "utf8",
|
|
73
73
|
shell: isWindows ? "cmd.exe" : "/bin/sh",
|
|
74
74
|
stdio: ["ignore", "pipe", "ignore"],
|
|
75
|
+
windowsHide: true,
|
|
75
76
|
});
|
|
76
77
|
const first = out
|
|
77
78
|
.split(/\r?\n/)
|
package/dist/shortcuts.js
CHANGED
|
@@ -126,7 +126,7 @@ export function installShortcuts(o) {
|
|
|
126
126
|
const aumid = appUserModelId(browser, "http://127.0.0.1:4810/", basename(join(o.dataDir, "browser")));
|
|
127
127
|
for (const lnk of windowsShortcutPaths(home, env, o.desktop)) {
|
|
128
128
|
mkdirSync(join(lnk, ".."), { recursive: true });
|
|
129
|
-
const r = spawnSync("powershell", ["-NoProfile", "-Command", shortcutScript(lnk, wscript, vbs, o.dataDir, ico, aumid)], { encoding: "utf8" });
|
|
129
|
+
const r = spawnSync("powershell", ["-NoProfile", "-Command", shortcutScript(lnk, wscript, vbs, o.dataDir, ico, aumid)], { encoding: "utf8", windowsHide: true });
|
|
130
130
|
if (r.status === 0)
|
|
131
131
|
result.files.push(lnk);
|
|
132
132
|
else
|