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 5151 */
5252public class UpdateCheck implements Runnable {
5353 Base base ;
54- String downloadURL = tr ("https://www.arduino.cc/latest.txt" );
5554
5655 static final long ONE_DAY = 24 * 60 * 60 * 1000 ;
5756
@@ -87,7 +86,7 @@ public void run() {
8786 System .getProperty ("os.version" ) + "\t " +
8887 System .getProperty ("os.arch" ), "UTF-8" );
8988
90- int latest = readInt (downloadURL + " ?" + info );
89+ int latest = readInt ("https://www.arduino.cc/latest.txt ?" + info );
9190
9291 String lastString = PreferencesData .get ("update.last" );
9392 long now = System .currentTimeMillis ();
@@ -116,7 +115,7 @@ public void run() {
116115 options ,
117116 options [0 ]);
118117 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" );
120119 }
121120 }
122121 }
You can’t perform that action at this time.
0 commit comments