Sync titlebar overlay with theme
All checks were successful
Build Windows App / build-windows (push) Successful in 25m10s
All checks were successful
Build Windows App / build-windows (push) Successful in 25m10s
This commit is contained in:
@@ -2,5 +2,6 @@ import { contextBridge, ipcRenderer } from "electron";
|
||||
|
||||
contextBridge.exposeInMainWorld("envHelper", {
|
||||
openFile: () => ipcRenderer.invoke("envhelper:open-file"),
|
||||
saveFile: (content: string) => ipcRenderer.invoke("envhelper:save-file", content)
|
||||
saveFile: (content: string) => ipcRenderer.invoke("envhelper:save-file", content),
|
||||
setTitlebarTheme: (theme: "light" | "dark") => ipcRenderer.invoke("envhelper:set-titlebar-theme", theme)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user