diff --git a/web/apps/photos/src/utils/file/index.ts b/web/apps/photos/src/utils/file/index.ts index d4cc6b624f35740fc6dd78dbebfa1dc502761f21..ad66b7bdb199eb27a412661fc944e8af662b5e2c 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; }