summaryrefslogtreecommitdiff
path: root/pkgs/unofficial-homestuck-collection/0001-fix-source.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/unofficial-homestuck-collection/0001-fix-source.patch')
-rw-r--r--pkgs/unofficial-homestuck-collection/0001-fix-source.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/unofficial-homestuck-collection/0001-fix-source.patch b/pkgs/unofficial-homestuck-collection/0001-fix-source.patch
new file mode 100644
index 0000000..df1144a
--- /dev/null
+++ b/pkgs/unofficial-homestuck-collection/0001-fix-source.patch
@@ -0,0 +1,40 @@
+From 0d63f04b5224bda4b5e9a37767da912c7ba1ef1c Mon Sep 17 00:00:00 2001
+From: Freya Murphy <freya@freyacat.org>
+Date: Thu, 17 Jul 2025 12:58:56 -0400
+Subject: [PATCH] fix source
+
+---
+ src/background.js | 3 ++-
+ src/store/localData.js | 2 +-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/background.js b/src/background.js
+index 426a84a..3b587ab 100644
+--- a/src/background.js
++++ b/src/background.js
+@@ -747,7 +747,8 @@ async function createWindow () {
+ titleBarStyle: 'hidden',
+ autoHideMenuBar: true,
+ webPreferences: {
+- nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION,
++ nodeIntegration: true,
++ contextIsolation: false,
+ enableRemoteModule: true,
+ plugins: true,
+ webviewTag: true
+diff --git a/src/store/localData.js b/src/store/localData.js
+index 2be2235..69833ff 100644
+--- a/src/store/localData.js
++++ b/src/store/localData.js
+@@ -33,7 +33,7 @@ const migrations = {
+ '2.6.9': store => {
+ const settings_prev = store.get('settings', {})
+ if (settings_prev && !isWebApp && settings_prev.ruffleFallback) {
+- store.set('settings.ruffleFallback', false)
++ store.set('settings.ruffleFallback', true)
+ }
+ }
+ }
+--
+2.50.0
+