We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44d33d3 commit d4ae4abCopy full SHA for d4ae4ab
app/src/main/java/io/xpipe/app/update/UpdateHandler.java
@@ -72,6 +72,11 @@ protected UpdateHandler(boolean startBackgroundThread) {
72
preparedUpdate.setValue(null);
73
}
74
75
+ // Check if file has been deleted
76
+ if (preparedUpdate.getValue() != null && preparedUpdate.getValue().getFile() != null && !Files.exists(preparedUpdate.getValue().getFile())) {
77
+ preparedUpdate.setValue(null);
78
+ }
79
+
80
preparedUpdate.addListener((c, o, n) -> {
81
AppCache.update("preparedUpdate", n);
82
});
0 commit comments