Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 103acc4

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
fix: allow second instance on macOS
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
1 parent c3dc7c6 commit 103acc4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎arduino-ide-extension/src/electron-main/theia/electron-main-application.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,7 @@ export class ElectronMainApplication extends TheiaElectronMainApplication {
356356
argv: string[],
357357
cwd: string
358358
): Promise<void> {
359-
if (
360-
!os.isOSX &&
361-
(await this.launchFromArgs({ cwd, argv, secondInstance: true }))
362-
) {
359+
if (await this.launchFromArgs({ cwd, argv, secondInstance: true })) {
363360
// Application has received a file in its arguments
364361
return;
365362
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /