NOTE: This is NOT an implementation! xdg-utils wrapper for Java, only working on Linux.
| supported feature | version | status |
|---|---|---|
| xdg-desktop-icon | 1.1.3 | complete |
| xdg-desktop-menu | 1.1.3 | complete |
| xdg-email | 1.1.3 | complete |
| xdg-icon-resource | 1.1.3 | complete |
| xdg-mime | 1.1.3 | complete |
| xdg-open | 1.1.3 | complete |
| xdg-screensaver | 1.1.3 | complete |
| xdg-settings | 1.1.3 | complete |
Step 1. Add the Maven Central repository to your build file
allprojects {
repositories {
...
mavenCentral()
}
}Step 2. Add the dependency
dependencies {
implementation 'io.github.anyicomplex:xdg-utils-java:1.1.3'
}XDGUtils.load();com.anyicomplex.xdg.utils.scriptPath: the specific path to load script.