preserve timestamps for assets copy

This commit is contained in:
Stephen Birarda 2016-01-20 14:58:15 -08:00
parent 278ab0fa8f
commit 430d1351db

View file

@ -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);
}