feat(remote): 下载改成本地面板选择目录
This commit is contained in:
2
src/types/electron.d.ts
vendored
2
src/types/electron.d.ts
vendored
@@ -30,7 +30,7 @@ export interface ElectronAPI {
|
||||
success: boolean
|
||||
error?: string
|
||||
}>
|
||||
remoteDownloadFile: (serverHost: string, port: number, fileName: string, remotePath: string, password?: string) => Promise<{
|
||||
remoteDownloadFile: (serverHost: string, port: number, fileName: string, remotePath: string, localPath: string, password?: string) => Promise<{
|
||||
success: boolean
|
||||
filePath?: string
|
||||
error?: string
|
||||
|
||||
Reference in New Issue
Block a user