Open martpie opened 3 months ago
Right now, the app restarts when updating the theme on Windows. Electron's nativeTheme seems to work without restarting the app.
nativeTheme
I wonder if there's some inspiration to get from there?
https://github.com/electron/electron/blob/02020fbb6387bd072ede38634a3b6f3f3f225526/shell/browser/api/electron_api_native_theme.cc
Right now, the app restarts when updating the theme on Windows. Electron's
nativeTheme
seems to work without restarting the app.I wonder if there's some inspiration to get from there?
https://github.com/electron/electron/blob/02020fbb6387bd072ede38634a3b6f3f3f225526/shell/browser/api/electron_api_native_theme.cc