helping build
This commit is contained in:
parent
441880453d
commit
a9d3e84850
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue