feat: 脚本录制功能完善
This commit is contained in:
@@ -66,6 +66,7 @@ const api: WindowApi = {
|
||||
run: (id: string) => ipcRenderer.invoke(IPC_EVENTS.SCRIPT_RUN, id),
|
||||
startRecording: (url?: string) => ipcRenderer.invoke(IPC_EVENTS.SCRIPT_RECORD_START, url),
|
||||
stopRecording: () => ipcRenderer.invoke(IPC_EVENTS.SCRIPT_RECORD_STOP),
|
||||
codegen: (id: string, url?: string) => ipcRenderer.invoke(IPC_EVENTS.SCRIPT_CODEGEN, id, url),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user