From d29cfeced596fb18c9487e34d96494a0083321e2 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 24 Dec 2011 10:57:36 +0000 Subject: [PATCH] * auto-deploy update.xml to website --- build.xml | 1 + source/net/sourceforge/filebot/Main.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index 9e7915e7..4d124971 100644 --- a/build.xml +++ b/build.xml @@ -421,6 +421,7 @@ + diff --git a/source/net/sourceforge/filebot/Main.java b/source/net/sourceforge/filebot/Main.java index 92a95e68..eccb33a5 100644 --- a/source/net/sourceforge/filebot/Main.java +++ b/source/net/sourceforge/filebot/Main.java @@ -162,8 +162,8 @@ public class Main { * Show update notifications if updates are available */ private static void checkUpdate() throws Exception { - final PreferencesEntry updateIgnoreRevision = Settings.forPackage(Main.class).entry("update.ignore"); - final Properties updateProperties = new CachedResource(getApplicationProperty("update.url"), Properties.class, DAYS.toMillis(1)) { + final PreferencesEntry updateIgnoreRevision = Settings.forPackage(Main.class).entry("update.revision.ignore"); + final Properties updateProperties = new CachedResource(getApplicationProperty("update.url"), Properties.class, DAYS.toMillis(0)) { @Override public Properties process(ByteBuffer data) {