private static final boolean isWin = System.getProperty("os.name").toLowerCase().contains("win");

private static final boolean isLinux = System.getProperty(“os.name”).toLowerCase().indexOf(“linux”) >= 0;

相关文章:

  • 2021-06-21
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2021-10-24
猜你喜欢
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
相关资源
相似解决方案