π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unnecessary check
Manav Rathif5a4830a5a13
diff --git a/desktop/src/main/fs.ts b/desktop/src/main/fs.tsindex 749f21bf25..8d92820341 100644--- a/desktop/src/main/fs.ts+++ b/desktop/src/main/fs.ts@@ -92,9 +92,6 @@ export const readTextFile = async (filePath: string) =>fs.readFile(filePath, "utf-8");export const moveFile = async (sourcePath: string, destinationPath: string) => {- if (!existsSync(sourcePath)) {- throw new Error("File does not exist");- }if (existsSync(destinationPath)) {throw new Error("Destination file already exists");}