fix(upload): resolve electron file-path fallback and android provider automation stalls

This commit is contained in:
plebeius
2026-02-19 13:18:15 +08:00
parent afdf129c3e
commit 410b988fbd
6 changed files with 126 additions and 4 deletions
+1
View File
@@ -13,6 +13,7 @@ declare global {
copyToClipboard: (text: string) => Promise<{ success: boolean; error?: string }>;
getPlatform: () => Promise<{ platform: NodeJS.Platform; arch: string; version: string }>;
automateUploadMedia: (options: { provider: ProviderId; filePath: string }) => Promise<{ url: string; provider: ProviderId }>;
getPathForFile?: (file: File) => string | null;
};
}
}