Remove main window opening on imexmedia URL call.
This commit is contained in:
@@ -467,7 +467,6 @@ app.whenReady().then(async () => {
|
||||
return; // Skip openMainWindow to avoid focusing the window
|
||||
} else {
|
||||
openInExplorer(url);
|
||||
openMainWindow(); // Focus window for non-keep-alive URLs
|
||||
}
|
||||
} else {
|
||||
openMainWindow(); // Focus window if no URL
|
||||
@@ -580,7 +579,6 @@ app.on("open-url", (event: Electron.Event, url: string) => {
|
||||
return; // Skip openMainWindow to avoid focusing the window
|
||||
} else {
|
||||
openInExplorer(url);
|
||||
openMainWindow(); // Focus window for non-keep-alive URLs
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user