File tree 1 file changed +5
-1
lines changed
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[]) {
120
120
File versionFile = getContentFile ("lib/version.txt" );
121
121
if (versionFile .exists ()) {
122
122
String version = PApplet .loadStrings (versionFile )[0 ];
123
- if (!version .equals (VERSION_NAME )) {
123
+ if (!version .equals (VERSION_NAME ) && ! version . equals ( "${version}" ) ) {
124
124
VERSION_NAME = version ;
125
125
RELEASE = true ;
126
126
}
@@ -129,6 +129,10 @@ static public void main(String args[]) {
129
129
e .printStackTrace ();
130
130
}
131
131
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
+
132
136
// if (System.getProperty("mrj.version") != null) {
133
137
// //String jv = System.getProperty("java.version");
134
138
// String ov = System.getProperty("os.version");
You can’t perform that action at this time.
0 commit comments