File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 50
50
*/
51
51
public class UpdateCheck implements Runnable {
52
52
Base base ;
53
- String downloadURL = _ ("http://www.arduino.cc /latest.txt" );
53
+ String downloadURL = _ ("http://www.energia.nu /latest.txt" );
54
54
55
55
static final long ONE_DAY = 24 * 60 * 60 * 1000 ;
56
56
@@ -100,11 +100,11 @@ public void run() {
100
100
Preferences .set ("update.last" , String .valueOf (now ));
101
101
102
102
String prompt =
103
- _ ("A new version of Arduino is available,\n " +
104
- "would you like to visit the Arduino download page?" );
103
+ _ ("A new version of Energia is available,\n " +
104
+ "would you like to visit the Energia download page?" );
105
105
106
106
if (base .activeEditor != null ) {
107
- if (latest > Base .REVISION ) {
107
+ if (latest > Base .EREVISION ) {
108
108
Object [] options = { _ ("Yes" ), _ ("No" ) };
109
109
int result = JOptionPane .showOptionDialog (base .activeEditor ,
110
110
prompt ,
@@ -115,7 +115,7 @@ public void run() {
115
115
options ,
116
116
options [0 ]);
117
117
if (result == JOptionPane .YES_OPTION ) {
118
- Base .openURL (_ ("http://www.arduino.cc /en/Main/Software " ));
118
+ Base .openURL (_ ("http://www.energia.nu /en/download " ));
119
119
}
120
120
}
121
121
}
You can’t perform that action at this time.
0 commit comments