The swiss army knife of lossless video/audio editing
fix #236
Mikael Finstad23c17f28624c
diff --git a/src/renderer.jsx b/src/renderer.jsxindex 91264568..0749d29f 100644--- a/src/renderer.jsx+++ b/src/renderer.jsx@@ -497,10 +497,11 @@ class App extends React.Component {deleteSourceClick = async () => {// eslint-disable-next-line no-alertif (this.state.working || !window.confirm('Are you sure you want to move the source file to trash?')) return;- const { filePath } = this.state;+ const { filePath, html5FriendlyPath } = this.state;this.setState({ working: true });await trash(filePath);+ if (html5FriendlyPath) await trash(html5FriendlyPath);this.resetState();}