Split any YouTube song into stems
TypeScript
fix(export): check ffmpeg before the picker for AAC exports
David Navia95822359b98d
diff --git a/src/main/index.ts b/src/main/index.tsindex 424247f..a141ce5 100644--- a/src/main/index.ts+++ b/src/main/index.ts@@ -310,6 +310,8 @@ app.whenReady().then(async () => {ipcMain.handle('export:begin', async (_e, kind: 'file' | 'folder', name: string) => {const format = loadSettings().exportFormat+ // a broken ffmpeg should stop an AAC export before the picker and the render, not after+ if (format === 'aac') requireExportFfmpeg()const ext = format === 'aac' ? 'm4a' : 'wav'const safe = sanitizeName(String(name))if (kind === 'file') {