1
0

auto-git:

[change] README.md
 [change] animeCat.js
 [change] index.html
 [change] main.js
 [change] package.json
 [change] preload.js
 [change] settings.html
This commit is contained in:
2025-06-01 13:58:00 +02:00
parent a539bedbbd
commit 855d353237
7 changed files with 118 additions and 137 deletions

View File

@@ -18,6 +18,8 @@ contextBridge.exposeInMainWorld('settingsAPI', {
setAutostart: val => ipcRenderer.invoke('set-autostart', val),
getCloseToTray: () => ipcRenderer.invoke('get-close-to-tray'),
setCloseToTray: val => ipcRenderer.invoke('set-close-to-tray', val),
getGiteaToken: () => ipcRenderer.invoke('get-gitea-token'),
setGiteaToken: (token) => ipcRenderer.invoke('set-gitea-token', token),
});
contextBridge.exposeInMainWorld('electronAPI', {