init needs to adapt to linux users having various open commands

main
Zed A. Shaw 2 years ago
parent 10bfd71fa7
commit aa494bedbd
  1. 4
      commands/init.js

@ -65,8 +65,10 @@ export const main = async (opts) => {
if(process.platform === "win32") {
exec(`start ${url}`);
} else {
} else if(process.platform === "darwin") {
exec(`open ${url}`);
} else {
warn(`\nOn linux you just open the link yourself:\n${url}\n`);
}
question("Register your admin user and hit ENTER.");

Loading…
Cancel
Save