The titleBarStyle window option in package.json for electron-app does not get applied on Linux. #13565
Answered
by
msujew
aghayanlena
asked this question in
General
-
I have the following configuration in the package.json file of electron-app:
However, it does not overwrite the default native title bar style. It only gets updated when the frontend style is changed from the application. Can we update the default value of the titleBarStyle during the first execution of the electron app? |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Apr 4, 2024
Replies: 1 comment 5 replies
-
Hey @aghayanlena, You need to set the correct preference in the package.json for this to correctly take effect: {
"theia": {
"target": "browser",
"frontend": {
"config": {
"applicationName": "Custom electron-app",
"preferences": {
"window.titleBarStyle": "custom"
}
}
}
}
} |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
msujew
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @aghayanlena,
You need to set the correct preference in the package.json for this to correctly take effect: