From d1a4b0d1d11c7a57aebae0563dd75cd477122e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:31:33 -0500 Subject: [PATCH] fix: currentVersion --- scripts/applyPatches.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/applyPatches.ts b/scripts/applyPatches.ts index 7af27c4e4..471331661 100644 --- a/scripts/applyPatches.ts +++ b/scripts/applyPatches.ts @@ -10,12 +10,11 @@ import { dvp } from '../submodules/blitzkit-closed/src/dvp'; import { DATA } from './buildAssets/constants'; const versionTextFile = await readStringDVPL(`${DATA}/version.txt.dvpl`); -// const currentVersion = versionTextFile -// .split(' ')[0] -// .split('.') -// .slice(0, 3) -// .join('.'); -const currentVersion = '11.1.0'; +const currentVersion = versionTextFile + .split(' ')[0] + .split('.') + .slice(0, 3) + .join('.'); console.log(`Installing patches for ${currentVersion}...`);