add show in finder

This commit is contained in:
Arjun 2026-05-15 12:11:50 +05:30
parent 41f783d504
commit f9ddc6549a
5 changed files with 46 additions and 1 deletions

View file

@ -489,6 +489,10 @@ const ipcSchemas = {
req: z.object({ path: z.string() }),
res: z.object({ error: z.string().optional() }),
},
'shell:showItemInFolder': {
req: z.object({ path: z.string() }),
res: z.object({ success: z.literal(true) }),
},
'shell:readFileBase64': {
req: z.object({ path: z.string() }),
res: z.object({ data: z.string(), mimeType: z.string(), size: z.number() }),