diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index d2be82822..82f0e1b9a 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -132,7 +132,7 @@ public class Base { File versionFile = getContentFile("lib/version.txt"); if (versionFile.exists()) { String version = PApplet.loadStrings(versionFile)[0]; - if (!version.equals(VERSION_NAME)) { + if (!version.equals(VERSION_NAME) && !version.equals("${version}")) { VERSION_NAME = version; RELEASE = true; } @@ -141,6 +141,10 @@ public class Base { e.printStackTrace(); } + // help 3rd party installers find the correct hardware path + Preferences.set("last.ide." + VERSION_NAME + ".hardwarepath", getHardwarePath()); + Preferences.set("last.ide." + VERSION_NAME + ".daterun", "" + (new Date()).getTime() / 1000); + // if (System.getProperty("mrj.version") != null) { // //String jv = System.getProperty("java.version"); // String ov = System.getProperty("os.version"); diff --git a/build/build.xml b/build/build.xml index 35e6fcc7a..ae468d86e 100644 --- a/build/build.xml +++ b/build/build.xml @@ -20,6 +20,13 @@ + + + + + + + @@ -463,13 +470,15 @@ - - - + + + + + + - diff --git a/build/linux/dist/tools/avrdude b/build/linux/dist/tools/avrdude32 similarity index 100% rename from build/linux/dist/tools/avrdude rename to build/linux/dist/tools/avrdude32 diff --git a/build/linux/dist/tools/bossac b/build/linux/dist/tools/bossac32 similarity index 100% rename from build/linux/dist/tools/bossac rename to build/linux/dist/tools/bossac32 diff --git a/build/linux/dist/tools/bossac64 b/build/linux/dist/tools/bossac64 index b75546546..c4c799438 100755 Binary files a/build/linux/dist/tools/bossac64 and b/build/linux/dist/tools/bossac64 differ