()
| 70 | }; |
| 71 | |
| 72 | public static Platform checkOS() { |
| 73 | String osname = System.getProperty("os.name"); |
| 74 | if (osname.contains("Windows")) { |
| 75 | |
| 76 | return Platform.WINDOWS; |
| 77 | } else if (osname.contains("Mac")) { |
| 78 | |
| 79 | return Platform.MAC; |
| 80 | } else { |
| 81 | |
| 82 | return Platform.LINUX; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * OS判定用 |
no test coverage detected