fix(electron): remove disableHardwareAcceleration (#2199)

This commit is contained in:
LongYinan
2023-04-29 18:22:59 +08:00
committed by GitHub
parent 99898b2260
commit a4e7d0d0c3

View File

@@ -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
*/