You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
The API tray.setHighlightMode(mode) has been be removed in electron v7.0 without replacement.
This causes the display of an error dialog every time an app is shown/hidden if the parameter --tray is used when nativefying. This is completely independent form the website you are nativefying and it happens with all the version of electron after 6.x.
nativefy any webside using an electron-version 7+ and the tray parameter
hide or show the app windows
Details
Are you nativefying a public website? Yes, and the problem happens with every website
Full nativefier command used to build your app: nativefier --name "Google" --platform linux --arch x64 --electron-version 8.0.1 --tray --single-instance --honest https://www.google.com
Version of Nativefier (run nativefier --version): 7.7.1
Version of node.js (run node --version): v10.15.2
OS: Ubuntu 19.10
Error message / stack trace (if any): nothing shown in console, see screenshot above
The text was updated successfully, but these errors were encountered:
leinardi
added a commit
to leinardi/nativefier
that referenced
this issue
Feb 16, 2020
… --tray option
The API `tray.setHighlightMode(mode)` has been be removed in electron v7.0
without replacement.
This causes the display of an error dialog every time an app is
shown/hidden if the parameter `--tray` is used when nativefying. This is
completely independent form the website you are nativefying and it
happens with all the version of electron after 6.x.
…tivefier#904)
The API `tray.setHighlightMode(mode)` has been be removed in electron v7.0
without replacement.
This causes the display of an error dialog every time an app is
shown/hidden if the parameter `--tray` is used when nativefying. This is
completely independent form the website you are nativefying and it
happens with all the version of electron after 6.x.
Source: https://www.electronjs.org/docs/api/breaking-changes#tray
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
The API
tray.setHighlightMode(mode)
has been be removed in electron v7.0 without replacement.This causes the display of an error dialog every time an app is shown/hidden if the parameter
--tray
is used when nativefying. This is completely independent form the website you are nativefying and it happens with all the version of electron after 6.x.source: https://www.electronjs.org/docs/api/breaking-changes#tray
similar fix: https://github.com/maxogden/menubar/pull/250/files#diff-332a438bdcfb7b2a05a4978d1cc7fce7L101
Steps to reproduce issue
Details
nativefier --name "Google" --platform linux --arch x64 --electron-version 8.0.1 --tray --single-instance --honest https://www.google.com
nativefier --version
):7.7.1
node --version
):v10.15.2
Ubuntu 19.10
The text was updated successfully, but these errors were encountered: