From d2ab6fbc6ac11d8d4684f2f855a5324548227917 Mon Sep 17 00:00:00 2001 From: Andrew Su Date: Mon, 18 Apr 2011 17:38:31 -0400 Subject: Changed cache to prevent jar overwriting when update happens. --- netx/net/sourceforge/jnlp/util/XDesktopEntry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netx/net/sourceforge/jnlp/util/XDesktopEntry.java') diff --git a/netx/net/sourceforge/jnlp/util/XDesktopEntry.java b/netx/net/sourceforge/jnlp/util/XDesktopEntry.java index 6e3a7e1..b06222b 100644 --- a/netx/net/sourceforge/jnlp/util/XDesktopEntry.java +++ b/netx/net/sourceforge/jnlp/util/XDesktopEntry.java @@ -74,7 +74,7 @@ public class XDesktopEntry { String cacheDir = JNLPRuntime.getConfiguration() .getProperty(DeploymentConfiguration.KEY_USER_CACHE_DIR); - File cacheFile = CacheUtil.urlToPath(file.getSourceLocation(), cacheDir); + File cacheFile = CacheUtil.getCacheFile(file.getSourceLocation(), null); String fileContents = "[Desktop Entry]\n"; fileContents += "Version=1.0\n"; -- cgit v1.2.3