File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ static public void main(String args[]) {
120120 File versionFile = getContentFile ("lib/version.txt" );
121121 if (versionFile .exists ()) {
122122 String version = PApplet .loadStrings (versionFile )[0 ];
123- if (!version .equals (VERSION_NAME )) {
123+ if (!version .equals (VERSION_NAME ) && ! version . equals ( "${version}" ) ) {
124124 VERSION_NAME = version ;
125125 RELEASE = true ;
126126 }
@@ -129,6 +129,10 @@ static public void main(String args[]) {
129129 e .printStackTrace ();
130130 }
131131
132+ // help 3rd party installers find the correct hardware path
133+ Preferences .set ("last.ide." + VERSION_NAME + ".hardwarepath" , getHardwarePath ());
134+ Preferences .set ("last.ide." + VERSION_NAME + ".daterun" , "" + (new Date ()).getTime () / 1000 );
135+
132136// if (System.getProperty("mrj.version") != null) {
133137// //String jv = System.getProperty("java.version");
134138// String ov = System.getProperty("os.version");
You can’t perform that action at this time.
0 commit comments