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 {
132
132
File versionFile = getContentFile ("lib/version.txt" );
133
133
if (versionFile .exists ()) {
134
134
String version = PApplet .loadStrings (versionFile )[0 ];
135
- if (!version .equals (VERSION_NAME )) {
135
+ if (!version .equals (VERSION_NAME ) && ! version . equals ( "${version}" ) ) {
136
136
VERSION_NAME = version ;
137
137
RELEASE = true ;
138
138
}
@@ -141,6 +141,10 @@ static public void main(String args[]) throws Exception {
141
141
e .printStackTrace ();
142
142
}
143
143
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
+
144
148
// if (System.getProperty("mrj.version") != null) {
145
149
// //String jv = System.getProperty("java.version");
146
150
// String ov = System.getProperty("os.version");
You can’t perform that action at this time.
0 commit comments