Backport ambient mode plugin

This commit is contained in:
TC
2023-10-06 20:33:49 +02:00
parent 063ba1b6c7
commit 22acaf688f
4 changed files with 156 additions and 0 deletions

View File

@ -0,0 +1,10 @@
import { join } from 'node:path';
import { BrowserWindow } from 'electron';
import { injectCSS } from '../utils';
export default (win: BrowserWindow) => {
injectCSS(win.webContents, join(__dirname, 'style.css'));
};