ai-warden 0.9.3 → 0.9.4
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 +1 -1
- package/src/cli.js +2 -1
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -409,7 +409,8 @@ async function loginCommand() {
|
|
|
409
409
|
if (platform === 'darwin') {
|
|
410
410
|
execSync(`open "${url}"`);
|
|
411
411
|
} else if (platform === 'win32') {
|
|
412
|
-
|
|
412
|
+
// Windows: start "" "URL" (first empty string is window title)
|
|
413
|
+
execSync(`start "" "${url}"`, { shell: true });
|
|
413
414
|
} else {
|
|
414
415
|
execSync(`xdg-open "${url}"`);
|
|
415
416
|
}
|