comment fixed
This commit is contained in:
parent
0dcb9d4b69
commit
cf691118b9
@ -60,12 +60,9 @@ public class NotificationHelper {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
// The only way to display notifications on linux is to use the java-gnome library,
|
||||||
* The only way to display notifications on linux is to use the java-gnome library,
|
// or send notify-send to shell with a ProcessBuilder. Unfortunately the java-gnome
|
||||||
* or send notify-send to shell with a ProcessBuilder. Unfortunately the java-gnome
|
// library is licenced under the GPL, see (https://en.wikipedia.org/wiki/Java-gnome)
|
||||||
* library is licenced under the GPL, see (https://en.wikipedia.org/wiki/Java-gnome)
|
|
||||||
*/
|
|
||||||
|
|
||||||
public static void linux(String text) {
|
public static void linux(String text) {
|
||||||
ProcessBuilder processBuilder = new ProcessBuilder();
|
ProcessBuilder processBuilder = new ProcessBuilder();
|
||||||
processBuilder.command("notify-send", "-a", "Baritone", text);
|
processBuilder.command("notify-send", "-a", "Baritone", text);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user