directories-jvm icon indicating copy to clipboard operation
directories-jvm copied to clipboard

a tiny library that provides config/cache/data paths, following the respective conventions on Linux, macOS, BSD and Windows

Results 12 directories-jvm issues
Sort by recently updated
recently updated
newest added

Many contributors have spent heroic efforts to keep Windows support working, for which I'm greatly thankful. Though it appears to me that Windows support keeps breaking time and time again...

Version 26 ```scala // LIB=C:\nope import dev.dirs.ProjectDirectories ProjectDirectories.from("com", "Foo Corp", "Bar App") ``` It's stuck on a powershell call: `C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -version 2 -NoProfile -EncodedCommand JgAg...` When I try running it...

bug
windows

When running the program using [PowerShell 7](https://github.com/PowerShell/PowerShell), version 26 of directories-jvm returns a path with leading null. Output in PowerShell: ``` ProjectDirectories (Windows 10): projectPath = 'foo\bar' cacheDir = 'null\foo\bar\cache'...

bug
windows

I've encountered this issue while using SBT and coursier and I've opened the issue there too: https://github.com/coursier/coursier/issues/1919 ### Issue I'm using coursier with SBT under a WSL environment. After updating...

bug
windows

OS: Windows 10 A java program calling `Util.getWinDirs()` triggers an antivirus scan on my laptop (Avecto Defendpoint) and takes almost 2 minutes to complete. E.g this class: ``` public class...

bug
windows

These changes allow users to provide a custom way of getting Windows system folders from UUIDs, rather than using the default PowerShell-based way, which has been a source of issues...

Fixes https://github.com/dirs-dev/directories-jvm/issues/32. Use like ``` $ directories Foo cache: /Users/alexandre/Library/Caches/Foo config: /Users/alexandre/Library/Application Support/Foo data: /Users/alexandre/Library/Application Support/Foo local data: /Users/alexandre/Library/Application Support/Foo preference: /Users/alexandre/Library/Preferences/Foo runtime: null $ directories Foo --cache /Users/alexandre/Library/Caches/Foo ```

I think it'd be nice / convenient if directories-jvm had a CLI, to print the directories of an app, from its name, on the current OS. It could be used...

Hello, Because I want to use your jar with jlink, having an automatic-module-name isn't enough, a module-info.java file is necessary. However, it means compiling with java 9, thus droping the...

Upon inspection, it's not really clear if there are enough shared semantics across platforms to carve out something like this. Also, there is the question of `/tmp` vs. `/var/tmp` on...