1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Applying some Mac build / project patches by Wim Lewis. Simplifying Compiler.java. Removing the preprocessor since it's not actually used for anything. Bumping the version number to 0011.

This commit is contained in:
David A. Mellis
2008-01-19 16:37:19 +00:00
parent bd56d4ff28
commit 3c43daaca8
39 changed files with 176 additions and 40147 deletions

View File

@ -82,17 +82,16 @@ public class UpdateCheck implements Runnable {
Preferences.set("update.id", String.valueOf(id));
}
String info =
URLEncoder.encode(id + "\t" +
String info = id + "\t" +
Base.VERSION+ "\t" +
System.getProperty("java.version") + "\t" +
System.getProperty("java.vendor") + "\t" +
System.getProperty("os.name") + "\t" +
System.getProperty("os.version") + "\t" +
System.getProperty("os.arch"));
System.getProperty("os.arch");
try {
int latest = readInt(downloadURL + "?" + info);
int latest = readInt(downloadURL + "?" + URLEncoder.encode(info, "UTF-8"));
String lastString = Preferences.get("update.last");
long now = System.currentTimeMillis();