feat: Implement Electron window state persistence, update checking with splash screen and banner, and external link metadata fetching.
All checks were successful
Build and Release / build-and-release (push) Successful in 12m18s

This commit is contained in:
Bryan1029384756
2026-02-12 00:00:17 -06:00
parent 40ad86bbcb
commit 0da09ebb2f
6 changed files with 207 additions and 8 deletions

View File

@@ -32,6 +32,10 @@ contextBridge.exposeInMainWorld('appSettings', {
set: (key, value) => ipcRenderer.invoke('set-setting', key, value),
});
contextBridge.exposeInMainWorld('updateAPI', {
checkFlatpakUpdate: () => ipcRenderer.invoke('check-flatpak-update'),
});
contextBridge.exposeInMainWorld('sessionPersistence', {
save: (data) => ipcRenderer.invoke('save-session', data),
load: () => ipcRenderer.invoke('load-session'),