chore: 清除所有 console.log,主进程日志接入执行日志面板
This commit is contained in:
Vendored
+1
@@ -229,6 +229,7 @@ export interface MetonaDesktopAPI {
|
||||
onTrayAction: (callback: (action: string) => void) => void;
|
||||
onAppQuit: (callback: () => void) => void;
|
||||
removeAllListeners: (channel: string) => void;
|
||||
onMainLog: (callback: (data: { level: string; message: string; detail?: string }) => void) => void;
|
||||
workspace: {
|
||||
getDir: () => Promise<{ dir: string; defaultDir: string }>;
|
||||
setDir: (dir: string) => Promise<{ success: boolean; dir?: string; error?: string }>;
|
||||
|
||||
Reference in New Issue
Block a user