From 4d986fffc661f92890a7aed5b397aa710ac7c5c9 Mon Sep 17 00:00:00 2001 From: Phong Tran <540580+phongse@users.noreply.github.com> Date: Fri, 8 Nov 2024 20:01:48 +0100 Subject: [PATCH] Add `thunderbird` as recognized version --- updater.bat | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/updater.bat b/updater.bat index d34b9b0..19d33f7 100644 --- a/updater.bat +++ b/updater.bat @@ -103,13 +103,12 @@ IF NOT EXIST user.js ( IF !_line! GEQ 4 (GOTO exitloop) IF !_line! EQU 1 (SET _name=%%H) IF !_line! EQU 2 (SET _date=%%H) - IF !_line! EQU 3 (SET _version=%%G) + IF !_line! EQU 3 (SET _version=%%H) ) :exitloop IF NOT "!_name!"=="" ( SET "_tempvar=" - IF /I NOT "!_name!"=="!_name:ghacks=!" SET _tempvar=1 - IF /I NOT "!_name!"=="!_name:arkenfox=!" SET _tempvar=1 + IF /I NOT "!_name!"=="!_name:thunderbird=!" SET _tempvar=1 IF !_tempvar! EQU 1 ( CALL :message "!_name! !_version:~2!,!_date!" ) ELSE (CALL :message "Current user.js version not recognised.")