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 @@ -132,7 +132,7 @@ static public void main(String args[]) throws Exception {
132132 File versionFile = getContentFile ("lib/version.txt" );
133133 if (versionFile .exists ()) {
134134 String version = PApplet .loadStrings (versionFile )[0 ];
135- if (!version .equals (VERSION_NAME )) {
135+ if (!version .equals (VERSION_NAME ) && ! version . equals ( "${version}" ) ) {
136136 VERSION_NAME = version ;
137137 RELEASE = true ;
138138 }
@@ -141,6 +141,10 @@ static public void main(String args[]) throws Exception {
141141 e .printStackTrace ();
142142 }
143143
144+ // help 3rd party installers find the correct hardware path
145+ Preferences .set ("last.ide." + VERSION_NAME + ".hardwarepath" , getHardwarePath ());
146+ Preferences .set ("last.ide." + VERSION_NAME + ".daterun" , "" + (new Date ()).getTime () / 1000 );
147+
144148// if (System.getProperty("mrj.version") != null) {
145149// //String jv = System.getProperty("java.version");
146150// String ov = System.getProperty("os.version");
You can’t perform that action at this time.
0 commit comments