mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 14:16:11 +00:00
Starting the lombok installer on mac os X using soylatte instead of apple's JVM now correctly detects being on a mac, and using mac-specific code for finding and installing eclipses.
This commit is contained in:
1 parent
0e8bda517f
commit
ae83845e86
1 file changed
+1
@@ -207,6 +207,7 @@ class EclipseFinder {
|
||||
static OS getOS() {
|
||||
String prop = System.getProperty("os.name", "").toLowerCase();
|
||||
if ( prop.matches("^.*\\bmac\\b.*$") ) return OS.MAC_OS_X;
|
||||
if ( prop.matches("^.*\\bdarwin\\b.*$") ) return OS.MAC_OS_X;
|
||||
if ( prop.matches("^.*\\bwin(dows)\\b.*$") ) return OS.WINDOWS;
|
||||
|
||||
return OS.UNIX;
|
||||
|
||||
Reference in new issue
Block a user