Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Comment

Manav Rathi4985ba8aac13
diff --git a/web/apps/photos/src/utils/file/index.ts b/web/apps/photos/src/utils/file/index.ts
index d4cc6b624f..ad66b7bdb1 100644
--- a/web/apps/photos/src/utils/file/index.ts
+++ b/web/apps/photos/src/utils/file/index.ts
@@ -62,6 +62,14 @@ export enum FILE_OPS_TYPE {
}
class ModuleState {
+ /**
+ * This will be set to true if we get an error from the Node.js side of our
+ * desktop app telling us that native JPEG conversion is not available for
+ * the current OS/arch combination. That way, we can stop pestering it again
+ * and again (saving an IPC round-trip).
+ *
+ * Note the double negative when it is used.
+ */
isElectronJPEGConversionNotAvailable = false;
}