diff --git a/src/examples/client/simpleOAuthClient.ts b/src/examples/client/simpleOAuthClient.ts index 75f5653a..8d3759c1 100644 --- a/src/examples/client/simpleOAuthClient.ts +++ b/src/examples/client/simpleOAuthClient.ts @@ -112,13 +112,7 @@ class InteractiveOAuthClient { const platform = process.platform; let command: string; - if (platform === 'darwin') { - command = `open "${url}"`; - } else if (platform === 'win32') { - command = `start "" "${url}"`; - } else { - command = `xdg-open "${url}"`; - } + command = `open "${url}"`; exec(command, (error) => { if (error) {