feat: mac 添加权限

This commit is contained in:
alger
2025-12-20 18:32:14 +08:00
parent 7e59cfee05
commit 00a251b5b6
13 changed files with 197 additions and 34 deletions

View File

@@ -4,6 +4,7 @@ interface API {
minimize: () => void;
maximize: () => void;
close: () => void;
quitApp: () => void;
dragStart: (data: any) => void;
miniTray: () => void;
miniWindow: () => void;
@@ -25,11 +26,7 @@ interface API {
importLxMusicScript: () => Promise<{ name: string; content: string } | null>;
invoke: (channel: string, ...args: any[]) => Promise<any>;
getSearchSuggestions: (keyword: string) => Promise<any>;
lxMusicHttpRequest: (request: {
url: string;
options: any;
requestId: string;
}) => Promise<any>;
lxMusicHttpRequest: (request: { url: string; options: any; requestId: string }) => Promise<any>;
lxMusicHttpCancel: (requestId: string) => Promise<void>;
}