fix(electron): autohide menu bar on linux (#5890)

This commit is contained in:
Peng Xiao
2024-02-23 09:27:28 +00:00
parent ccd3190cec
commit db1d0dcf52
2 changed files with 6 additions and 1 deletions
@@ -12,6 +12,10 @@ export const isWindows = () => {
return process.platform === 'win32';
};
export const isLinux = () => {
return process.platform === 'win32';
};
interface MessagePortLike {
postMessage: (data: unknown) => void;
addListener: (event: 'message', listener: (...args: any[]) => void) => void;