diff options
author | Andrew Su <[email protected]> | 2011-04-18 17:38:31 -0400 |
---|---|---|
committer | Andrew Su <[email protected]> | 2011-04-18 17:38:31 -0400 |
commit | d2ab6fbc6ac11d8d4684f2f855a5324548227917 (patch) | |
tree | 56a36a6682480f03a927791db26b63f6a310e9c8 /netx/net/sourceforge/jnlp/util/XDesktopEntry.java | |
parent | 3614db44151bb47e747226e5bd49d30bb9620e96 (diff) |
Changed cache to prevent jar overwriting when update happens.
Diffstat (limited to 'netx/net/sourceforge/jnlp/util/XDesktopEntry.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/util/XDesktopEntry.java | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |