Skip to content
Snippets Groups Projects
Commit 1bbdf473 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

added debug prints

parent 31d56d08
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,7 @@ public class Updater
Path target = Paths.get(PathUtils.getOSindependentPath() + Localization.getString(Strings.FOLDER) + "/Updater." + ending);
download(BUILD_FOLDER + "Updater.jar", target);
Logger.debug("Successfully downloaded latest updater");
}
private File getCurrentExecutableName()
......@@ -165,11 +166,13 @@ public class Updater
{
target = Paths.get(PathUtils.getOSindependentPath() + Localization.getString(Strings.FOLDER) + "/update_BudgetMaster.exe");
download(BUILD_FOLDER + "BudgetMaster.exe", target);
Logger.debug("Successfully downloaded latest EXE");
}
else
{
target = Paths.get(PathUtils.getOSindependentPath() + Localization.getString(Strings.FOLDER) + "/update_BudgetMasterClient.jar");
download(BUILD_FOLDER + "BudgetMasterClient.jar", target);
Logger.debug("Successfully downloaded latest JAR");
}
String params = target.toString().replace(" ", "%20") + " " + currentExecutable.getAbsolutePath().replace(" ", "%20") + " " + Localization.getString(Strings.APP_NAME);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment