mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Prevent persisiting notifications in windows store
This commit is contained in:
parent
ca8725351c
commit
5b3e9f87bb
@ -14,7 +14,7 @@ import * as path from 'path';
|
||||
|
||||
import { ChildProcess, execFile, ExecFileException } from 'child_process';
|
||||
import * as util from 'util';
|
||||
import { IScreenSnippet } from '../common/api-interface';
|
||||
import { apiName, IScreenSnippet } from '../common/api-interface';
|
||||
import {
|
||||
isDevEnv,
|
||||
isElectronQA,
|
||||
@ -482,7 +482,9 @@ class ScreenSnippet {
|
||||
allWindows.forEach((window) => {
|
||||
if (
|
||||
(window as ICustomBrowserWindow).winName !== currentWindowName &&
|
||||
(window as ICustomBrowserWindow).winName !== 'main'
|
||||
(window as ICustomBrowserWindow).winName !== 'main' &&
|
||||
(window as ICustomBrowserWindow).winName !==
|
||||
apiName.notificationWindowName
|
||||
) {
|
||||
windowsArr.push({
|
||||
id: (window as ICustomBrowserWindow).winName,
|
||||
|
Loading…
Reference in New Issue
Block a user