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): remove disableHardwareAcceleration (#2199)

LongYinana4e7d0d0c3df
diff --git a/apps/electron/layers/main/src/index.ts b/apps/electron/layers/main/src/index.ts
index a907a91ae0..64d411ad03 100644
--- a/apps/electron/layers/main/src/index.ts
+++ b/apps/electron/layers/main/src/index.ts
@@ -36,11 +36,6 @@ app.on('open-url', async (_, _url) => {
// todo: handle `affine://...` urls
});
-/**
- * Disable Hardware Acceleration for more power-save
- */
-app.disableHardwareAcceleration();
-
/**
* Shout down background process if all windows was closed
*/