1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

ContributionInstaller OS check: MacOSX now uses real arch rather than JVM one

This commit is contained in:
Federico Fissore
2015-03-24 10:15:06 +01:00
parent 8bdd2c9402
commit e646ca2525
9 changed files with 279 additions and 47 deletions

View File

@ -72,7 +72,7 @@ public class Platform {
}
public void init() {
public void init() throws IOException {
}
@ -236,4 +236,12 @@ public class Platform {
scripts.add(new File(folder, "post_install.sh"));
return scripts;
}
public String getOsName() {
return System.getProperty("os.name");
}
public String getOsArch() {
return System.getProperty("os.arch");
}
}