hedgequantx 2.7.63 → 2.7.64
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
|
@@ -354,9 +354,9 @@ const getLoginUrl = async (provider) => {
|
|
|
354
354
|
|
|
355
355
|
const headless = isHeadless();
|
|
356
356
|
|
|
357
|
-
// For headless/VPS, use -no-browser flag
|
|
357
|
+
// For headless/VPS, use -no-browser flag and specify auth-dir
|
|
358
358
|
return new Promise((resolve) => {
|
|
359
|
-
const args = [flag, '-no-browser'];
|
|
359
|
+
const args = [flag, '-no-browser', '-auth-dir', AUTH_DIR];
|
|
360
360
|
const child = spawn(BINARY_PATH, args, {
|
|
361
361
|
cwd: INSTALL_DIR
|
|
362
362
|
});
|