Closed guihkx closed 1 year ago
Hi @tonikelope, sorry for the ping, but would have any interest in getting this merged?
Thanks.
Hi. Sorry I didn't get back to you sooner. I prefer to keep the code as less platform dependent and use Java system variables (although I use ArchLinux). But there is also a problem with the portable version that has to be self-contained and not depend on or write to directories external to the application directory itself.
Thanks for your help and your interest though.
Happy new year.
El jue, 5 ene 2023 a las 1:17, Guilherme Silva @.***>) escribió:
Hi @tonikelope https://github.com/tonikelope, sorry for the ping, but would have any interest in getting this merged?
Thanks.
— Reply to this email directly, view it on GitHub https://github.com/tonikelope/megabasterd/pull/464#issuecomment-1371572272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKIECDYPNMOPWTDTW2CVELWQYHJRANCNFSM6AAAAAAQ4I6VYA . You are receiving this because you were mentioned.Message ID: @.***>
No worries, that's completely understandable. Let me just close this one then.
Happy new year! ^^
Instead of defaulting the Downloads folder path to
.
(current directory) on Linux, we can instead rely on thexdg-user-dir
tool, which should give us a more accurate location for the default Downloads folder.If the
xdg-user-dir
output does not give us an actual, existing directory, we just fall back to the current directory, like before.