diff --git a/index.js b/index.js index 290b4ec..7ad8122 100644 --- a/index.js +++ b/index.js @@ -120,7 +120,7 @@ const baseOpen = async options => { if (app) { cliArguments.push('-a', app); } - } else if (platform === 'win32' || (isWsl && !isDocker())) { + } else if (platform === 'win32' || (isWsl && !isDocker() && !app)) { const mountPoint = await getWslDrivesMountPoint(); command = isWsl ?