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:
@ -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");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user