nixpkgs/pkgs/games/heroic/remove-drm-support.patch
2023-11-05 10:33:11 +13:00

29 lines
811 B
Diff

diff --git a/src/backend/main.ts b/src/backend/main.ts
index 83b58bb2..f61656fa 100644
--- a/src/backend/main.ts
+++ b/src/backend/main.ts
@@ -19,7 +19,6 @@ import {
protocol,
screen,
clipboard,
- components,
session
} from 'electron'
import 'backend/updater'
@@ -310,14 +309,7 @@ if (!gotTheLock) {
}
if (!process.env.CI) {
- await components.whenReady().catch((e) => {
- logError([
- 'Failed to download / update DRM components.',
- 'Make sure you do not block update.googleapis.com domain if you want to use WideVine in Browser sideloaded apps',
- e
- ])
- })
- logInfo(['DRM module staus', components.status()])
+ logInfo('DRM modules disabled for nixpkgs')
}
// try to fix notification app name on windows