mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
80701428e9
DRM support added in 2.9.0 prevent Heroic from running at all under mainline Electron, instead requiring running against a non-free fork with DRM support compiled in.
25 lines
643 B
Diff
25 lines
643 B
Diff
diff --git a/src/backend/main.ts b/src/backend/main.ts
|
|
index 2cd1a28f..a60e04d0 100644
|
|
--- a/src/backend/main.ts
|
|
+++ b/src/backend/main.ts
|
|
@@ -19,8 +19,7 @@ import {
|
|
powerSaveBlocker,
|
|
protocol,
|
|
screen,
|
|
- clipboard,
|
|
- components
|
|
+ clipboard
|
|
} from 'electron'
|
|
import 'backend/updater'
|
|
import { autoUpdater } from 'electron-updater'
|
|
@@ -286,8 +285,7 @@ if (!gotTheLock) {
|
|
initImagesCache()
|
|
|
|
if (!process.env.CI) {
|
|
- await components.whenReady()
|
|
- logInfo(['DRM module staus', components.status()])
|
|
+ logInfo('DRM modules disabled for nixpkgs')
|
|
}
|
|
|
|
// try to fix notification app name on windows
|