mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-18 13:38:57 -04: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);
|
||||
}
|
||||
|
||||
1
dist/changelog/21.5.1.md
vendored
Normal file
1
dist/changelog/21.5.1.md
vendored
Normal file
@@ -0,0 +1 @@
|
||||
- Fix bitwarden integration not applying changes in a new xpipe install
|
||||
Reference in New Issue
Block a user