Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
Change REM to ::
  • Loading branch information
FLYEMOJ1 authored Nov 8, 2023
1 parent d51e07e commit 2f898c3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions RiotClientLanguageSelector.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
::
::
:: Last Update: KST 2023-11-08 5:00 PM
:: Update log: Lazy to write haha
:: Update log: Change remark from REM to ::

@ECHO OFF
:: Start of Title set.
Expand All @@ -27,20 +27,20 @@ title League of Legends Manual Language Selector
@echo off
setlocal enabledelayedexpansion

REM Set Where riotClient info file is gonna save.
:: Set Where leagueClient info file is gonna save.
set "leagueClient_info_file=%userprofile%\leagueClient_info.txt"

REM Check leagueClient_Info.txt exist. If not, then let user manualy input.
:: Check leagueClient_Info.txt exist. If not, then let user manualy input.
if not exist "%leagueClient_info_file%" (
echo Please manual input leagueClient directory
echo Please manual input leagueClient directory *no exe only directory*
set /p "leagueClient_path="
echo !leagueClient_path!> "%leagueClient_info_file%"
) else (
REM From Saved file to read leagueClient Directory.
set /p leagueClient_path=<"%leagueClient_info_file%"
)

REM Show Language Select menu
:: Show Language Select menu
:language_menu
cls
echo Select Language:
Expand Down Expand Up @@ -70,7 +70,7 @@ if "%language_choice%"=="1" (
goto :language_menu
)

REM 启动leagueClient并设置语言
:: Start LeagueClient.exe with selected language.
start "" "%leagueClient_path%\LeagueClient.exe" "--locale=!language!"

:end

0 comments on commit 2f898c3

Please sign in to comment.