Browse Source

Merge pull request #12 from Seil0/dev

update to build 127 plasma cow
pull/25/head
Jannik 5 years ago committed by GitHub
parent
commit
85d65b6235
  1. BIN
      bin/application/updater.class
  2. 9
      src/application/updater.java
  3. BIN
      updates/ProjectHomeFlix.jar
  4. 2
      updates/buildNumber.txt

BIN
bin/application/updater.class

Binary file not shown.

9
src/application/updater.java

@ -80,14 +80,9 @@ public class updater implements Runnable{
});
System.out.println("update available");
System.out.println("download link: " + browserDownloadUrl);
try {
//get the download-Data URL
URL downloadURL = new URL(browserDownloadUrl);
BufferedReader in = new BufferedReader(new InputStreamReader(downloadURL.openStream()));
String updateDataURL = in.readLine();
try {
//open new Http connection, ProgressMonitorInputStream for downloading the data
HttpURLConnection conn = (HttpURLConnection) new URL(updateDataURL).openConnection();
HttpURLConnection conn = (HttpURLConnection) new URL(browserDownloadUrl).openConnection();
ProgressMonitorInputStream pmis = new ProgressMonitorInputStream(null, "Downloading...", conn.getInputStream());
ProgressMonitor pm = pmis.getProgressMonitor();
pm.setMillisToDecideToPopup(0);

BIN
updates/ProjectHomeFlix.jar

Binary file not shown.

2
updates/buildNumber.txt

@ -1 +1 @@
125
127

Loading…
Cancel
Save

Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close