feat(remote): 下载改成本地面板选择目录
This commit is contained in:
@@ -27,6 +27,6 @@ contextBridge.exposeInMainWorld('electronAPI', {
|
||||
ipcRenderer.invoke('remote-fetch-files', serverHost, port, filePath, password),
|
||||
remoteUploadFile: (serverHost: string, port: number, filePath: string, remotePath: string, password?: string) =>
|
||||
ipcRenderer.invoke('remote-upload-file', serverHost, port, filePath, remotePath, password),
|
||||
remoteDownloadFile: (serverHost: string, port: number, fileName: string, remotePath: string, password?: string) =>
|
||||
ipcRenderer.invoke('remote-download-file', serverHost, port, fileName, remotePath, password),
|
||||
remoteDownloadFile: (serverHost: string, port: number, fileName: string, remotePath: string, localPath: string, password?: string) =>
|
||||
ipcRenderer.invoke('remote-download-file', serverHost, port, fileName, remotePath, localPath, password),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user