@cloud411716/fancy-webnovel 0.1.84 → 0.1.85
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/package.json
CHANGED
|
@@ -162,7 +162,7 @@ async function runScanWithChromiumFix(ctx, session, invocation, { platform, leng
|
|
|
162
162
|
notify(session, '⏳ 正在下载 Chromium 浏览器(首次约 2-3 分钟),请耐心等待...\n');
|
|
163
163
|
const installStop = startActivity(session);
|
|
164
164
|
|
|
165
|
-
const installProc = spawn('npx', ['
|
|
165
|
+
const installProc = spawn('npx', ['--registry', 'https://registry.npmmirror.com', 'playwright', 'install', 'chromium'], {
|
|
166
166
|
stdio: ['ignore', 'pipe', 'pipe'],
|
|
167
167
|
});
|
|
168
168
|
const installOut = [];
|