Skip to content

Dynamic splash image (take 2) #9935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 15 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Removed useless translation
  • Loading branch information
cmaglie committed Mar 26, 2020
commit 190e84af65d83994d5bb1a941d034ab7a5e633d7
5 changes: 2 additions & 3 deletions app/src/processing/app/UpdateCheck.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
*/
public class UpdateCheck implements Runnable {
Base base;
String downloadURL = tr("https://www.arduino.cc/latest.txt");

static final long ONE_DAY = 24 * 60 * 60 * 1000;

Expand Down Expand Up @@ -87,7 +86,7 @@ public void run() {
System.getProperty("os.version") + "\t" +
System.getProperty("os.arch"), "UTF-8");

int latest = readInt(downloadURL + "?" + info);
int latest = readInt("https://www.arduino.cc/latest.txt?" + info);

String lastString = PreferencesData.get("update.last");
long now = System.currentTimeMillis();
Expand Down Expand Up @@ -116,7 +115,7 @@ public void run() {
options,
options[0]);
if (result == JOptionPane.YES_OPTION) {
Base.openURL(tr("https://www.arduino.cc/en/Main/Software"));
Base.openURL("https://www.arduino.cc/en/Main/Software");
}
}
}
Expand Down