[Bug]: TypeError: win.setTitleBarOverlay is not a function #41938
Labels
30-x-y
bug 🪲
platform/windows
status/confirmed
A maintainer reproduced the bug or agreed with the feature
Preflight Checklist
Electron Version
30.0.0
What operating system are you using?
Windows
Operating System Version
win10
What arch are you using?
x64
Last Known Working Electron version
30.0.1
Expected Behavior
Actual Behavior
Want to support setTitleBarOverlay api
Testcase Gist URL
No response
Additional Information
(node:20488) UnhandledPromiseRejectionWarning: TypeError: win.setTitleBarOverlay is not a function
at E:\Hui\Github\ce-hub\cehub-browser-window\out\main\index.js:18:9
(Use
electron --trace-warnings ...
to show where the warning was created)(node:20488) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)The text was updated successfully, but these errors were encountered: