File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 51
51
*/
52
52
public class UpdateCheck implements Runnable {
53
53
Base base ;
54
- String downloadURL = tr ("https://www.arduino.cc/latest.txt" );
55
54
56
55
static final long ONE_DAY = 24 * 60 * 60 * 1000 ;
57
56
@@ -87,7 +86,7 @@ public void run() {
87
86
System .getProperty ("os.version" ) + "\t " +
88
87
System .getProperty ("os.arch" ), "UTF-8" );
89
88
90
- int latest = readInt (downloadURL + " ?" + info );
89
+ int latest = readInt ("https://www.arduino.cc/latest.txt ?" + info );
91
90
92
91
String lastString = PreferencesData .get ("update.last" );
93
92
long now = System .currentTimeMillis ();
@@ -116,7 +115,7 @@ public void run() {
116
115
options ,
117
116
options [0 ]);
118
117
if (result == JOptionPane .YES_OPTION ) {
119
- Base .openURL (tr ( "https://www.arduino.cc/en/Main/Software" ) );
118
+ Base .openURL ("https://www.arduino.cc/en/Main/Software" );
120
119
}
121
120
}
122
121
}
You can’t perform that action at this time.
0 commit comments