Skip to content

The swiss army knife of lossless video/audio editing

fix bug

Mikael Finstada120e554dcdd
diff --git a/src/App.jsx b/src/App.jsx
index 4c99bcc3..779a8073 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1395,7 +1395,7 @@ const App = memo(() => {
const revealPath = concatOutPath || outFiles[0];
if (!hideAllNotifications) openCutFinishedToast({ filePath: revealPath, warnings, notices });
- await cleanupFiles(cleanupChoices);
+ if (cleanupChoices.cleanupAfterExport) await cleanupFiles(cleanupChoices);
} catch (err) {
if (err.killed === true) {
// assume execa killed (aborted by user)