Only read in the current version if we've got both the version file and
the bundle file. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2785 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: JNLPDownloader.java,v 1.7 2003/08/20 03:52:36 mdb Exp $
|
||||
// $Id: JNLPDownloader.java,v 1.8 2003/08/20 03:53:35 mdb Exp $
|
||||
|
||||
package com.threerings.resource;
|
||||
|
||||
@@ -41,7 +41,7 @@ public class JNLPDownloader extends Downloader
|
||||
|
||||
// determine which version we already have, if any
|
||||
_vfile = new File(FileUtil.resuffix(_desc.destFile, ".jar", ".vers"));
|
||||
if (_vfile.exists()) {
|
||||
if (_vfile.exists() && _desc.destFile.exists()) {
|
||||
try {
|
||||
BufferedReader vin = new BufferedReader(new FileReader(_vfile));
|
||||
_cvers = vin.readLine();
|
||||
|
||||
Reference in New Issue
Block a user