mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): invalid isLinux function (#6065)
This commit is contained in:
@@ -13,7 +13,7 @@ export const isWindows = () => {
|
||||
};
|
||||
|
||||
export const isLinux = () => {
|
||||
return process.platform === 'win32';
|
||||
return process.platform === 'linux';
|
||||
};
|
||||
|
||||
interface MessagePortLike {
|
||||
|
||||
Reference in New Issue
Block a user