diff --git a/app/cancel.js b/app/cancel.js index 90a0006..1498058 100644 --- a/app/cancel.js +++ b/app/cancel.js @@ -53,7 +53,7 @@ $(() => { function onCancelAndRemoveButtonPress() { try{ rimraf.sync(installerPath); - rimraf.sync(path.join(app.getPath('userData'), 'PRBF2DownloadAssistantFiles')); + rimraf.sync(path.join(app.getPath('userData'), 'TorrentFiles',"*")); }catch(err){ console.log(err) } diff --git a/app/remove.js b/app/remove.js index efc814d..259656a 100644 --- a/app/remove.js +++ b/app/remove.js @@ -46,7 +46,7 @@ $(() => { function onRemoveButtonPress() { try{ - rimraf.sync(path.join(app.getPath('userData'), 'PRBF2DownloadAssistantFiles')); + rimraf.sync(path.join(app.getPath('userData'), 'TorrentFiles',"*")); rimraf.sync(installerPath); }catch(err){ console.log(err)