helping build

This commit is contained in:
rusefillc 2020-10-07 19:17:05 -04:00
parent b14b7abe96
commit 99a2998e74
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ public class DfuUpload {
@Override
public void run() {
try {
ConnectionAndMeta c = new ConnectionAndMeta(BUNDLE_FILE).invoke();
ConnectionAndMeta c = new ConnectionAndMeta(BUNDLE_FILE).invoke(ConnectionAndMeta.BASE_URL_LATEST);
ConnectionAndMeta.downloadFile(localFullFile, c, new ConnectionAndMeta.DownloadProgressListener() {
@Override
public void onPercentage(final int currentProgress) {

View File

@ -39,7 +39,7 @@ public class NetworkConnectorStartup {
log.error(message);
System.out.println(message);
// let's give wrapper bash script a chance to update software
System.exit(NetworkConnectorContext.UPDATE_FIRMWARE_EXIT_CODE);
System.exit(NetworkConnectorContext.UPDATE_RELEASE_FIRMWARE_EXIT_CODE);
}
} catch (IOException e) {
log.error("Ignoring", e);