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

re-enabled all update downloads

parent 85b0afc4
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ public class Updater
{
//download into temp directory and file
String ending = "jar";
if(osType == OSType.Other.Windows)
if(osType == OSType.Windows)
{
ending = "exe";
}
......@@ -156,8 +156,8 @@ public class Updater
PathUtils.checkFolder(new File(PathUtils.getOSindependentPath() + Localization.getString(Strings.FOLDER)));
//download latest updater.jar
//DEBUG
// downloadLatestUpdater(OS.getType());
downloadLatestUpdater(OS.getType());
//download into temp directory and file
Path target;
......
# DEFAULT
app.name=BudgetMaster
version.code=3
version.code=9
version.name=1.5.0_alpha
version.date=23.08.17
author=Robert Goldmann
......
......@@ -352,9 +352,7 @@ public class Controller
try
{
boolean updateAvailable = updater.isUpdateAvailable(Integer.parseInt(Localization.getString(Strings.VERSION_CODE)));
//DEBUG
//String changes = updater.getChangelog(updater.getLatestVersion().getVersionCode());
String changes = "";
String changes = updater.getChangelog(updater.getLatestVersion().getVersionCode());
if(!updateAvailable)
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment