@echo off
title Minecraft Launcher
setlocal

set PACKNAME=thermal_v1

rem change codepage to 1251
chcp 1251

rem update, repack, copy configs & resources
%~dp0runtime\python\python_mcp.exe %~dp0runtime\update_loader.py --pack %PACKNAME%
%~dp0runtime\python\python_mcp.exe %~dp0runtime\update_pack.py --pack %PACKNAME%
rem pause

rem trick minecraft to think that APPDATA is here
set APPDATA=%~dp0
start %~dp0runtime\minecraft.exe
