fix: no double dvpl

This commit is contained in:
tresabhi committed 2025-01-17 19:17:39 -06:00
1 parent 644686582e
commit bfbf3bdc39
1 file changed
+1 -1
@@ -3,7 +3,7 @@ import { DATA_COMPRESSED } from '../../buildAssets/constants';
import { readDVPL } from './readDVPL';
export async function readDVPLFile(file: string) {
if (DATA_COMPRESSED) {
if (DATA_COMPRESSED && !file.endsWith('.dvpl')) {
return readDVPL(await readFile(`${file}.dvpl`));
}