feat: rename backup files to mention their importing capabilities
This commit is contained in:
@@ -31,7 +31,7 @@ export class ArchiveManager {
|
|||||||
}
|
}
|
||||||
const data = await this.__itemsData(items, keys, authParams);
|
const data = await this.__itemsData(items, keys, authParams);
|
||||||
this.__downloadData(data,
|
this.__downloadData(data,
|
||||||
`Standard Notes Encrypted Backup - ${this.__formattedDate()}.txt`);
|
`Standard Notes Encrypted Backup and Import File - ${this.__formattedDate()}.txt`);
|
||||||
} else {
|
} else {
|
||||||
this.__downloadZippedItems(items);
|
this.__downloadZippedItems(items);
|
||||||
}
|
}
|
||||||
@@ -92,7 +92,7 @@ export class ArchiveManager {
|
|||||||
await new Promise((resolve) => {
|
await new Promise((resolve) => {
|
||||||
const blob = new Blob([data], {type: 'text/plain'});
|
const blob = new Blob([data], {type: 'text/plain'});
|
||||||
zipWriter.add(
|
zipWriter.add(
|
||||||
`Standard Notes Backup - ${this.__formattedDate()}.txt`.replace(/:/g, ' '),
|
'Standard Notes Backup and Import File.txt',
|
||||||
new zip.BlobReader(blob),
|
new zip.BlobReader(blob),
|
||||||
resolve
|
resolve
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user