catching up

This commit is contained in:
rusefi 2020-07-02 00:00:14 -04:00
parent 6a63cf022b
commit f56c25d7f6
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
package com.rusefi.ts_plugin; package com.rusefi.ts_plugin;
import com.rusefi.autoupdate.AutoupdateUtil; import com.rusefi.autoupdate.AutoupdateUtil;
import com.rusefi.shared.ConnectionAndMeta;
import com.rusefi.ui.storage.PersistentConfiguration; import com.rusefi.ui.storage.PersistentConfiguration;
import org.putgemin.VerticalFlowLayout; import org.putgemin.VerticalFlowLayout;
@ -82,9 +83,9 @@ public class Updater {
new Thread(new Runnable() { new Thread(new Runnable() {
@Override @Override
public void run() { public void run() {
AutoupdateUtil.ConnectionAndMeta connectionAndMeta; ConnectionAndMeta connectionAndMeta;
try { try {
connectionAndMeta = new AutoupdateUtil.ConnectionAndMeta(PLUGIN_BODY_JAR).invoke(); connectionAndMeta = new ConnectionAndMeta(PLUGIN_BODY_JAR).invoke();
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return; return;
@ -138,7 +139,7 @@ public class Updater {
}); });
try { try {
AutoupdateUtil.ConnectionAndMeta connectionAndMeta = new AutoupdateUtil.ConnectionAndMeta(PLUGIN_BODY_JAR).invoke(); ConnectionAndMeta connectionAndMeta = new ConnectionAndMeta(PLUGIN_BODY_JAR).invoke();
AutoupdateUtil.downloadAutoupdateFile(LOCAL_JAR_FILE_NAME, connectionAndMeta, AutoupdateUtil.downloadAutoupdateFile(LOCAL_JAR_FILE_NAME, connectionAndMeta,
TITLE); TITLE);