Disable use filesystem in metafiles (js module)

This commit is contained in:
Oleg Korshul
2025-01-30 14:26:57 +03:00
parent b3951d083a
commit a97014c173
2 changed files with 5 additions and 0 deletions

View File

@ -147,6 +147,10 @@ namespace MetaFile
if (BI_JPEG != unCompression || BI_PNG != unCompression)
return false;
#ifdef METAFILE_DISABLE_FILESYSTEM
return false;
#endif
std::wstring wsTempFileName = GetTempFilename();
if (wsTempFileName.empty())
return false;