diff options
-rw-r--r-- | src/installer/lombok/installer/IdeFinder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/installer/lombok/installer/IdeFinder.java b/src/installer/lombok/installer/IdeFinder.java index a5e22716..110b19e3 100644 --- a/src/installer/lombok/installer/IdeFinder.java +++ b/src/installer/lombok/installer/IdeFinder.java @@ -1,5 +1,5 @@ /* - * Copyright © 2009 Reinier Zwitserloot and Roel Spilker. + * Copyright © 2009-2011 Reinier Zwitserloot and Roel Spilker. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -126,7 +126,7 @@ public abstract class IdeFinder { 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("^.*\\bwindows\\b.*$")) return OS.WINDOWS; + if (prop.matches("^.*\\bwin(dows|32|64)?\\b.*$")) return OS.WINDOWS; return OS.UNIX; } |