mirror of
https://github.com/processing/processing4.git
synced 2026-02-26 08:44:39 +01:00
argh
This commit is contained in:
@@ -759,6 +759,15 @@ public class Base {
|
||||
}
|
||||
|
||||
|
||||
static boolean openFolderAvailable() {
|
||||
if (Base.isWindows() || Base.isMacOS()) return true;
|
||||
|
||||
//gnome-open, kde-open
|
||||
if (Preferences.getString("
|
||||
Process p = Runtime.getRuntime.exec(new String[] { "gnome-open" });
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Implements the other cross-platform headache of opening
|
||||
* a folder in the machine's native file browser.
|
||||
|
||||
Reference in New Issue
Block a user