fix(grimoire): dev tool popup
check / build (pull_request) Successful in 3m15s

This commit is contained in:
2026-07-13 13:58:34 +01:00
parent d1c6469384
commit 1082e52e6b
+6
View File
@@ -73,6 +73,12 @@ in
env.GRIMOIRE_SOCIAL_BASE_URL = "https://grimoire-social.slusheliott.workers.dev"; env.GRIMOIRE_SOCIAL_BASE_URL = "https://grimoire-social.slusheliott.workers.dev";
postPatch = '' postPatch = ''
# The app is launched via electron directly (not an electron-builder
# package), so `app.isPackaged` is false and `is.dev` is true, which
# auto-opens DevTools on launch. Strip that call.
substituteInPlace electron/main/index.ts \
--replace-fail "mainWindow.webContents.openDevTools();" ""
cp -r ${grimoire-social-src} ../grimoire-social cp -r ${grimoire-social-src} ../grimoire-social
chmod -R u+w ../grimoire-social chmod -R u+w ../grimoire-social