mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-03 11:20:34 +00:00
Fix bitwarden file copy [stage]
This commit is contained in:
@@ -92,7 +92,7 @@ public class BitwardenPasswordManager implements PasswordManager {
|
||||
var def = getDefaultConfigPath();
|
||||
if (Files.exists(def)) {
|
||||
try {
|
||||
var defIsNewer = Files.getLastModifiedTime(def).compareTo(Files.getLastModifiedTime(cacheDataFile)) > 0;
|
||||
var defIsNewer = !Files.exists(cacheDataFile) || Files.getLastModifiedTime(def).compareTo(Files.getLastModifiedTime(cacheDataFile)) > 0;
|
||||
if (defIsNewer) {
|
||||
Files.copy(def, cacheDataFile, StandardCopyOption.REPLACE_EXISTING);
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
- Fix bitwarden integration not applying changes in a new xpipe install
|
||||
Reference in New Issue
Block a user