mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-15 21:29:27 +00:00
Can check if the current window is the first one.
Closes #1070 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export const electronMainWindowServiceExtPath = '/services/electron-window-ext';
|
||||
export const ElectronMainWindowServiceExt = Symbol(
|
||||
'ElectronMainWindowServiceExt'
|
||||
);
|
||||
export interface ElectronMainWindowServiceExt {
|
||||
isFirstWindow(windowId: number): Promise<boolean>;
|
||||
}
|
||||
Reference in New Issue
Block a user