-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why did not become a tray after packaging, but a window #12
Comments
import { Tray, BrowserWindow, ipcMain, app, session } from "electron"; ipcMain.on("tray-window-clicked", (e, a) => { ipcMain.on("tray-window-visible", (e, a) => { ipcMain.on("tray-window-hidden", (e, a) => { ipcMain.handle("tray_hide", (e, a) => { export { Createtray }; |
This ticket has been around for a long time, but I'm still chatting so that everyone who encounters it can handle this issue. The reason for this issue is that when packaging, the path to load the tray icon is no longer correct. Please check the icon assets path again. |
Before packing - After packing
The text was updated successfully, but these errors were encountered: