Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

anyicomplex/xdg-utils-java

Repository files navigation

xdg-utils-java Java CI with Gradle Publish to Maven Central License

NOTE: This is NOT an implementation! xdg-utils wrapper for Java, only working on Linux.

Current Status

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

Usage

1. Add this repo to your project dependency

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'
}

2. Load script files

XDGUtils.load();

System Properties

com.anyicomplex.xdg.utils.scriptPath: the specific path to load script.