mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
preserve timestamps for assets copy
This commit is contained in:
parent
278ab0fa8f
commit
430d1351db
1 changed files with 3 additions and 1 deletions
|
@ -414,7 +414,9 @@ function performContentMigration() {
|
|||
console.log("Copying Stack Manager assets from " + oldAssetsPath + " to " + newAssetsPath);
|
||||
|
||||
// attempt to copy the assets folder, show correct dialog depending on success/failure
|
||||
fs.copy(oldAssetsPath, newAssetsPath, showMigrationCompletionDialog);
|
||||
fs.copy(oldAssetsPath, newAssetsPath, {
|
||||
preserveTimestamps: true
|
||||
}, showMigrationCompletionDialog);
|
||||
} else {
|
||||
showMigrationCompletionDialog(null);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue