[PR #1926] [MERGED] Fix Electron Build #22635

Closed
opened 2026-04-16 16:54:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1926
Author: @Shazib
Created: 11/18/2023
Status: Merged
Merged: 11/20/2023
Merged by: @MatissJanis

Base: masterHead: electron-fix


📝 Commits (7)

📊 Changes

5 files changed (+20 additions, -6 deletions)

View changed files

📝 packages/desktop-client/src/browser-preload.browser.js (+3 -1)
📝 packages/desktop-client/src/global-events.js (+0 -4)
📝 packages/desktop-electron/index.js (+8 -0)
📝 packages/desktop-electron/preload.js (+3 -1)
upcoming-release-notes/1926.md (+6 -0)

📄 Description

Some of the theme switching stuff has broken electron, at least on Windows builds.

This resolves that issue.

Dark mode still works in the netlify preview, and I haven't changed anything at all front-end wise, so I'm not sure why the visual regression tests have failed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/1926 **Author:** [@Shazib](https://github.com/Shazib) **Created:** 11/18/2023 **Status:** ✅ Merged **Merged:** 11/20/2023 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `electron-fix` --- ### 📝 Commits (7) - [`a74c0ba`](https://github.com/actualbudget/actual/commit/a74c0baba2598232c133a41bde7aa5d12671e71d) implement setTheme - [`0b12175`](https://github.com/actualbudget/actual/commit/0b12175a76b2a064463a209268f3b571586b67f7) Release notes + linter issues - [`c4d7240`](https://github.com/actualbudget/actual/commit/c4d72400f49179f54971fbe8edc5ccad6dceddef) lint fix - [`ab58db0`](https://github.com/actualbudget/actual/commit/ab58db061c85a938d316cc3e7514aafe0b7ba998) Merge branch 'master' into electron-fix - [`b909fa8`](https://github.com/actualbudget/actual/commit/b909fa88984eb263c5508cf3bc78e7cc5408a2ae) Merge branch 'master' into electron-fix - [`db527f2`](https://github.com/actualbudget/actual/commit/db527f296b355a15f6ccd6175690511051dedfc9) Fix - [`f9fb564`](https://github.com/actualbudget/actual/commit/f9fb56444ab2126c2eda35d71275464535742aab) theme is a string ### 📊 Changes **5 files changed** (+20 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/browser-preload.browser.js` (+3 -1) 📝 `packages/desktop-client/src/global-events.js` (+0 -4) 📝 `packages/desktop-electron/index.js` (+8 -0) 📝 `packages/desktop-electron/preload.js` (+3 -1) ➕ `upcoming-release-notes/1926.md` (+6 -0) </details> ### 📄 Description Some of the theme switching stuff has broken electron, at least on Windows builds. This resolves that issue. Dark mode still works in the netlify preview, and I haven't changed anything at all front-end wise, so I'm not sure why the visual regression tests have failed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 16:54:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#22635