tonikelope / megabasterd

Yet another unofficial (and ugly) cross-platform MEGA downloader/uploader/streaming suite.
GNU General Public License v3.0
4.41k stars 597 forks source link

MEGABASTERD_UPLOAD_LOGS folder on home directory #628

Closed columndeeply closed 7 months ago

columndeeply commented 7 months ago

Hi! I updated to v8.17 a couple of days ago and now every time I open Megabasterd a folder named "MEGABASTERD_UPLOAD_LOGS" is created on my home directory even when "Create upload logs" is disabled on the settings.

Looking at the code I'm pretty sure the problem is this line here: https://github.com/tonikelope/megabasterd/blob/7a8f1d5ea348a5a88db3392ce77f1c63f3815b5f/src/main/java/com/tonikelope/megabasterd/MainPanel.java#L255

It creates the directory without checking if the setting to do so is enabled. This line was added on v8.16: https://github.com/tonikelope/megabasterd/commit/8ce5b11f85cfba8e64eba7df9e1ce9f722e242c4

tonikelope commented 7 months ago

Check v8.20

columndeeply commented 7 months ago

My bad, didn't realize there were new releases. It's fixed on v8.20.