Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(electron): invalid isLinux function (#6065)

JimmFly33501d5fdc02
diff --git a/packages/frontend/electron/src/shared/utils.ts b/packages/frontend/electron/src/shared/utils.ts
index 41e5bf65d7..51aa4f52ba 100644
--- a/packages/frontend/electron/src/shared/utils.ts
+++ b/packages/frontend/electron/src/shared/utils.ts
@@ -13,7 +13,7 @@ export const isWindows = () => {
};
export const isLinux = () => {
- return process.platform === 'win32';
+ return process.platform === 'linux';
};
interface MessagePortLike {