summaryrefslogtreecommitdiff
path: root/pkgs/unofficial-homestuck-collection/0003-make-compatible-with-native-electron.patch
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-07-25 20:24:31 -0400
committerFreya Murphy <freya@freyacat.org>2025-07-25 20:24:31 -0400
commit32b518b8039857f26e110c903a9ae7a6b453d7dc (patch)
tree7fc79461e63df3d2127254bbfd429f25788d0818 /pkgs/unofficial-homestuck-collection/0003-make-compatible-with-native-electron.patch
parentrefactor config out of modules/options.nix (diff)
downloaddotfiles-nix-32b518b8039857f26e110c903a9ae7a6b453d7dc.tar.gz
dotfiles-nix-32b518b8039857f26e110c903a9ae7a6b453d7dc.tar.bz2
dotfiles-nix-32b518b8039857f26e110c903a9ae7a6b453d7dc.zip
unofficial-homestuck-collection: update patches
Diffstat (limited to 'pkgs/unofficial-homestuck-collection/0003-make-compatible-with-native-electron.patch')
-rw-r--r--pkgs/unofficial-homestuck-collection/0003-make-compatible-with-native-electron.patch14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/unofficial-homestuck-collection/0003-make-compatible-with-native-electron.patch b/pkgs/unofficial-homestuck-collection/0003-make-compatible-with-native-electron.patch
index 49de8df..6bdd030 100644
--- a/pkgs/unofficial-homestuck-collection/0003-make-compatible-with-native-electron.patch
+++ b/pkgs/unofficial-homestuck-collection/0003-make-compatible-with-native-electron.patch
@@ -1,16 +1,16 @@
-From 0f84aa973f9e2f7fae8980429b59acccfcc09458 Mon Sep 17 00:00:00 2001
+From 0090d934ac8e9cff0ffb24ad4ad1af5fe573ed53 Mon Sep 17 00:00:00 2001
From: Freya Murphy <freya@freyacat.org>
Date: Sun, 20 Jul 2025 12:01:12 -0400
Subject: [PATCH 3/3] make compatible with native electron
---
- src/background.js | 17 ++++++-----------
+ src/background.js | 15 +++++----------
src/components/SystemPages/Settings.vue | 12 +++++++-----
src/components/UIElements/MediaEmbed.vue | 20 ++------------------
- 3 files changed, 15 insertions(+), 34 deletions(-)
+ 3 files changed, 14 insertions(+), 33 deletions(-)
diff --git a/src/background.js b/src/background.js
-index 426a84a..997971a 100644
+index 426a84a..dfbc4e8 100644
--- a/src/background.js
+++ b/src/background.js
@@ -314,16 +314,8 @@ if (assetDir === undefined) {
@@ -32,14 +32,12 @@ index 426a84a..997971a 100644
if (store.has('settings.smoothScrolling') && store.get('settings.smoothScrolling') === false)
app.commandLine.appendSwitch('disable-smooth-scrolling')
-@@ -747,7 +739,10 @@ async function createWindow () {
- titleBarStyle: 'hidden',
+@@ -748,6 +740,9 @@ async function createWindow () {
autoHideMenuBar: true,
webPreferences: {
-- nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION,
+ nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION,
+ // MOD: disable isolation to get
+ // collection to work with electron 35
-+ nodeIntegration: true,
+ contextIsolation: false,
enableRemoteModule: true,
plugins: true,