Skip to content

Commit

Permalink
Fixed issues related to quick-resume causing removal of files not wor…
Browse files Browse the repository at this point in the history
…king
  • Loading branch information
WouterJansen committed Jan 13, 2022
1 parent a763d6b commit 555ba66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/cancel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion app/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 555ba66

Please sign in to comment.