Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Commit 555ba66

Browse files
committed
Fixed issues related to quick-resume causing removal of files not working
1 parent a763d6b commit 555ba66

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/cancel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $(() => {
5353
function onCancelAndRemoveButtonPress() {
5454
try{
5555
rimraf.sync(installerPath);
56-
rimraf.sync(path.join(app.getPath('userData'), 'PRBF2DownloadAssistantFiles'));
56+
rimraf.sync(path.join(app.getPath('userData'), 'TorrentFiles',"*"));
5757
}catch(err){
5858
console.log(err)
5959
}

app/remove.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $(() => {
4646

4747
function onRemoveButtonPress() {
4848
try{
49-
rimraf.sync(path.join(app.getPath('userData'), 'PRBF2DownloadAssistantFiles'));
49+
rimraf.sync(path.join(app.getPath('userData'), 'TorrentFiles',"*"));
5050
rimraf.sync(installerPath);
5151
}catch(err){
5252
console.log(err)

0 commit comments

Comments
 (0)