run-spaceapp 0.1.2 → 0.1.3
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.mjs +5 -1
package/package.json
CHANGED
package/src/cli.mjs
CHANGED
|
@@ -216,7 +216,11 @@ async function installCommand(args, {
|
|
|
216
216
|
stdout.write(`SpaceApp is running at ${url}\n`);
|
|
217
217
|
stdout.write('Next: add CLI credentials with "spaceapp credentials set <provider>".\n');
|
|
218
218
|
if (noOpen) return 0;
|
|
219
|
-
|
|
219
|
+
const openCode = await openBrowser(url, platform, execute, { stdin, stdout, stderr });
|
|
220
|
+
if (openCode !== 0) {
|
|
221
|
+
stderr.write(`Could not open SpaceApp automatically. Open ${url} manually.\n`);
|
|
222
|
+
}
|
|
223
|
+
return 0;
|
|
220
224
|
}
|
|
221
225
|
|
|
222
226
|
function parseInstallArgs(args) {
|