mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Disabling GPU acceleration by setting env variable (#1870)
* Disabling GPU by setting env variable Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Moving fuzzy bug description into docs FAQ Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fix lint error Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
2b78794000
commit
819811e3e6
2 files changed
+25
-1
No files matched your search
@@ -55,6 +55,10 @@ app.on("second-instance", () => {
|
||||
windowManager?.ensureMainWindow();
|
||||
});
|
||||
|
||||
if (process.env.LENS_DISABLE_GPU) {
|
||||
app.disableHardwareAcceleration();
|
||||
}
|
||||
|
||||
app.on("ready", async () => {
|
||||
logger.info(`🚀 Starting Lens from "${workingDir}"`);
|
||||
await shellSync();
|
||||
|
||||
Reference in new issue
Block a user