about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/heroic/remove-drm-support.patch
blob: 44045bef2bf6af0c3b670ff018684e6a0cf029d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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