mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-23 03:31:56 +00:00
Use process-specific electron/{main,renderer,common} imports.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type {NativeImage} from "electron";
|
||||
import type {NativeImage} from "electron/common";
|
||||
import type {Tray as ElectronTray} from "electron/main";
|
||||
import path from "path";
|
||||
|
||||
import {BrowserWindow, Menu, Tray, nativeImage} from "@electron/remote";
|
||||
@@ -9,7 +10,7 @@ import type {RendererMessage} from "../../common/typed-ipc";
|
||||
import type {ServerManagerView} from "./main";
|
||||
import {ipcRenderer} from "./typed-ipc-renderer";
|
||||
|
||||
let tray: Electron.Tray | null = null;
|
||||
let tray: ElectronTray | null = null;
|
||||
|
||||
const iconDir = "../../resources/tray";
|
||||
|
||||
|
Reference in New Issue
Block a user