Return true on needsUpdate if zip file has been removed.
This commit is contained in:
parent
b2862b95bb
commit
6182b9313a
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ public class ZippedAppFile implements Updatable {
|
||||||
* the file has been modified or deleted.
|
* the file has been modified or deleted.
|
||||||
*/
|
*/
|
||||||
public boolean needsUpdate () {
|
public boolean needsUpdate () {
|
||||||
return lastmod != file.lastModified ();
|
return !file.exists () || lastmod != file.lastModified ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue