remove iro file association, show theme descriptions

This commit is contained in:
Boof2015
2026-04-18 03:08:40 -04:00
parent c7142d447a
commit 8ceaafa6c8
12 changed files with 91 additions and 129 deletions
-5
View File
@@ -169,11 +169,6 @@ contextBridge.exposeInMainWorld('electronAPI', {
ipcRenderer.on('profiles:external-activated', handler)
return () => ipcRenderer.removeListener('profiles:external-activated', handler)
},
onExternalThemeActivated: (callback: (snapshot: ThemeLibrarySnapshot) => void) => {
const handler = (_event: Electron.IpcRendererEvent, snapshot: ThemeLibrarySnapshot): void => callback(snapshot)
ipcRenderer.on('themes:external-activated', handler)
return () => ipcRenderer.removeListener('themes:external-activated', handler)
},
onScopePopoutReady: (callback: (kind: ScopeKind) => void) => {
const handler = (_event: Electron.IpcRendererEvent, kind: ScopeKind): void => callback(kind)
ipcRenderer.on('scope-popout:ready', handler)