|
|
@ -121,7 +121,7 @@ object Backup { |
|
|
|
private fun copyBackup() { |
|
|
|
private fun copyBackup() { |
|
|
|
for (fileName in backupFileNames) { |
|
|
|
for (fileName in backupFileNames) { |
|
|
|
FileHelp.getFile(backupPath + File.separator + "bookshelf.json") |
|
|
|
FileHelp.getFile(backupPath + File.separator + "bookshelf.json") |
|
|
|
.copyTo(FileHelp.getFile(legadoPath + File.separator + "bookshelf.json")) |
|
|
|
.copyTo(FileHelp.getFile(legadoPath + File.separator + "bookshelf.json"), true) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |