Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 22, 2021. It is now read-only.
/edex-uiPublic archive

Commit9cfc2e2

Browse files
committed
feat: bypass gpu acceleration blocklist#1129
1 parent1f555a6 commit9cfc2e2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎src/.snyk‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎src/_boot.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ const innerFontsDir = path.join(__dirname, "assets/fonts");
5858
if(process.env.http_proxy)deleteprocess.env.http_proxy;
5959
if(process.env.https_proxy)deleteprocess.env.https_proxy;
6060

61+
// Bypass GPU acceleration blocklist, trading a bit of stability for a great deal of performance, mostly on Linux
62+
app.commandLine.appendSwitch("ignore-gpu-blocklist");
63+
app.commandLine.appendSwitch("enable-gpu-rasterization");
64+
app.commandLine.appendSwitch("enable-video-decode");
65+
6166
// Fix userData folder not setup on Windows
6267
try{
6368
fs.mkdirSync(electron.app.getPath("userData"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp