Skip to content

Commit e6e1354

Browse files
fix: macOS do not create a new file inside app folder
The tracker list can not be created in macOS This does not work any more in macOS 10.15 catalina [Issue GerryFerdinandus#42]
1 parent 249624d commit e6e1354

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/code/main.pas

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,8 +752,11 @@ procedure TFormTrackerModify.UpdateTorrent;
752752

753753
end;//for
754754

755+
// Can not create a file inside the app
756+
{$IFNDEF DARWIN}
755757
//Create tracker.txt file
756758
SaveTrackerFinalListToFile;
759+
{$ENDIF}
757760

758761
//Show/reload the just updated torrent files.
759762
AllFilesAreReadBackCorrectly := ReloadAllTorrentAndRefreshView;

0 commit comments

Comments
 (0)