org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/ChromeDebugUtils.java
equal
deleted
inserted
replaced
27 File file = new File(folder); |
27 File file = new File(folder); |
28 if (file.isDirectory()) { |
28 if (file.isDirectory()) { |
29 File chromeExecutable = new File(file, getExecutable()); |
29 File chromeExecutable = new File(file, getExecutable()); |
30 if (chromeExecutable.isFile()) { |
30 if (chromeExecutable.isFile()) { |
31 return chromeExecutable.getAbsolutePath(); |
31 return chromeExecutable.getAbsolutePath(); |
|
32 } else if (CoreUtil.isMac() && file.getName().equals("Google Chrome.app")) { |
|
33 return getExecutablePath(file.getParent()); |
32 } |
34 } |
|
35 } else if (file.isFile()) { |
|
36 if (file.getName().equalsIgnoreCase(getExecutable())) { |
|
37 return file.getAbsolutePath(); |
|
38 } |
33 } |
39 } |
34 return null; |
40 return null; |
35 } |
41 } |
36 |
42 |
37 private static String getExecutable() { |
43 private static String getExecutable() { |