This commit is contained in:
Manav Rathi 2024-04-20 16:22:54 +05:30
parent 52d830cd06
commit 4985ba8aac
No known key found for this signature in database

View file

@ -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;
}