edvin / fxlauncher

Auto updating launcher for JavaFX Applications
Apache License 2.0
714 stars 110 forks source link

Downloading files to current directory #54

Open Valrog opened 7 years ago

Valrog commented 7 years ago

I'm having issues configuring the fxlauncher to download files into the directory where launcher is started from. I tried messing with the cache-dir setting, and while that worked great, having no cache-dir argument results into downloading everything to /home/val. As I understand it from the documentation, not definining cache-dir should download every file into the current directory, but it does not appear to do that.

Edit: I should specify that I'm using Maven for this project.

Valrog commented 7 years ago

Update: I have just tested this on a Windows system and it does indeed download into the current directory if no cache-dir is specified. So this appears to be a Linux issue, perhaps my system only. Any idea on how to fix this? I was thinking of writing a bash script where it overrides the cacheDir, but I'm not sure if it's possible to do it like that and I'm certain a more elegant solution must exist.

edvin commented 7 years ago

Sorry for the late reply. I don't have a linux machine to test on right now, and I must admit I'm not able to prioritize this right now, but I'll definitely investigate when I have the time. Sorry about this :)

ronsmits commented 7 years ago

I will try this out tonight