app: file type filter on desktop + multiple files (#18403)
This commit is contained in:
parent
27a70ad70f
commit
d0a57305ef
9 changed files with 120 additions and 60 deletions
|
|
@ -50,6 +50,8 @@ export type ElectronAPI = {
|
|||
multiple?: boolean
|
||||
title?: string
|
||||
defaultPath?: string
|
||||
accept?: string[]
|
||||
extensions?: string[]
|
||||
}) => Promise<string | string[] | null>
|
||||
saveFilePicker: (opts?: { title?: string; defaultPath?: string }) => Promise<string | null>
|
||||
openLink: (url: string) => void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue