diff --git a/package.json b/package.json index ec5273d..c404d17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Miru", - "version": "4.4.14", + "version": "4.4.15", "author": "ThaUnknown_ ", "description": "Stream anime torrents, real-time with no waiting for downloads.", "main": "build/main.js", diff --git a/src/main/util.js b/src/main/util.js index b0ec586..fb4bae9 100644 --- a/src/main/util.js +++ b/src/main/util.js @@ -3,11 +3,14 @@ import { app, ipcMain, shell, dialog } from 'electron' export const development = process.env.NODE_ENV?.trim() === 'development' const flags = [ + ['disable-gpu-sandbox'], + ['disable-direct-composition-video-overlays'], + ['double-buffer-compositing'], ['enable-gpu-rasterization'], ['enable-zero-copy'], ['ignore-gpu-blocklist'], ['enable-hardware-overlays', 'single-fullscreen,single-on-top,underlay'], - ['enable-features', 'PlatformEncryptedDolbyVision,EnableDrDc,CanvasOopRasterization,BackForwardCache:TimeToLiveInBackForwardCacheInSeconds/300/should_ignore_blocklists/true/enable_same_site/true,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilationEnableDrDc,CanvasOopRasterization,BackForwardCache:TimeToLiveInBackForwardCacheInSeconds/300/should_ignore_blocklists/true/enable_same_site/true,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilation'], + ['enable-features', 'PlatformEncryptedDolbyVision,EnableDrDc,CanvasOopRasterization,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilation'], ['force_high_performance_gpu'], ['disable-features', 'Vulkan'], ['disable-color-correct-rendering'],