π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathi14922b65f804
diff --git a/web/apps/photos/src/services/export/migration.ts b/web/apps/photos/src/services/export/migration.tsindex 53f8131c42..7ea974bb85 100644--- a/web/apps/photos/src/services/export/migration.ts+++ b/web/apps/photos/src/services/export/migration.ts@@ -200,11 +200,7 @@ async function migrateCollectionFolders() {const fs = ensureElectron().fs;for (const collection of collections) {- const oldCollectionExportPath = getOldCollectionFolderPath(- exportDir,- collection.id,- collection.name,- );+ const oldCollectionExportPath = `${exportDir}/${collection.id}_${oldSanitizeName(collection.name)}`;const newCollectionExportPath = await safeDirectoryName(exportDir,collection.name,@@ -494,12 +490,6 @@ const oldSanitizeName = (name: string) =>const getFileSavePath = (collectionFolderPath: string, fileSaveName: string) =>`${collectionFolderPath}/${fileSaveName}`;-const getOldCollectionFolderPath = (- dir: string,- collectionID: number,- collectionName: string,-) => `${dir}/${collectionID}_${oldSanitizeName(collectionName)}`;-const getUniqueFileExportNameForMigration = (collectionPath: string,filename: string,