nixpkgs-suyu/pkgs/games/heroic/remove-drm-support.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
811 B
Diff
Raw Permalink Normal View History

diff --git a/src/backend/main.ts b/src/backend/main.ts
2023-11-04 21:11:33 +01:00
index 83b58bb2..f61656fa 100644
--- a/src/backend/main.ts
+++ b/src/backend/main.ts
2023-11-04 21:11:33 +01:00
@@ -19,7 +19,6 @@ import {
protocol,
screen,
2023-11-04 21:11:33 +01:00
clipboard,
- components,
session
} from 'electron'
import 'backend/updater'
2023-11-04 21:11:33 +01:00
@@ -310,14 +309,7 @@ if (!gotTheLock) {
}
if (!process.env.CI) {
2023-11-04 21:11:33 +01:00
- 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