mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-22 15:37:48 +00:00
get mtools and change en translation
This commit is contained in:
parent
141f8dbeb2
commit
860f88daf5
@ -18,12 +18,12 @@
|
|||||||
"scriptsSectionTitle": "Scripts",
|
"scriptsSectionTitle": "Scripts",
|
||||||
"killswitchOption": "Kill Switch",
|
"killswitchOption": "Kill Switch",
|
||||||
"killswitchSubtitle": "Only for those very paranoid about bans. Kills the game process *and your internet* if something happens to the proxy.",
|
"killswitchSubtitle": "Only for those very paranoid about bans. Kills the game process *and your internet* if something happens to the proxy.",
|
||||||
"proxyOption": "Proxy",
|
"proxyOption": "Run Installer",
|
||||||
"proxySubtitle": "Install the proxy server via the install script",
|
"proxySubtitle": "Install (or reinstall) the proxy server and mtools via the install script.",
|
||||||
"updateOption": "Update",
|
"updateOption": "Update",
|
||||||
"updateSubtitle": "Auto updating is temporarily disabled. Check GitHub for the newest release.",
|
"updateSubtitle": "Auto updating is temporarily disabled. Check GitHub for the newest release.",
|
||||||
"languageOption": "Language",
|
"languageOption": "Language",
|
||||||
"languageSubtitle": "Select your language!",
|
"languageSubtitle": "Select your language",
|
||||||
"enableServerLauncherOption": "Enable Server Launcher",
|
"enableServerLauncherOption": "Enable Server Launcher",
|
||||||
"enableServerLauncherSubtitle": "Enable to server launcher tile for launching a local Grasscutter instance.",
|
"enableServerLauncherSubtitle": "Enable to server launcher tile for launching a local Grasscutter instance.",
|
||||||
"httpsOption": "Use HTTPS",
|
"httpsOption": "Use HTTPS",
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
"introSen1": "Looks like this is your first time opening GrassClipper!",
|
"introSen1": "Looks like this is your first time opening GrassClipper!",
|
||||||
"introSen2": "First of all, welcome, happy to see you here! :)",
|
"introSen2": "First of all, welcome, happy to see you here! :)",
|
||||||
"introSen3": "Would you like to run the proxy installer?",
|
"introSen3": "Would you like to run the first-time installer?",
|
||||||
"introSen4": "(required to connect to servers)",
|
"introSen4": "(required to connect to servers)",
|
||||||
|
|
||||||
"updateBtn": "Update",
|
"updateBtn": "Update",
|
||||||
|
@ -137,11 +137,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="settingsRow">
|
<div class="settingsRow">
|
||||||
<div class="settingSection">
|
<div class="settingSection">
|
||||||
<span class="settingLabel" id="proxyTitle">Install Proxy Server</span>
|
<span class="settingLabel" id="proxyTitle">Run Installer</span>
|
||||||
<button class="smolBtn" onclick="runInstallScript()" id="proxyInstall">Install</button>
|
<button class="smolBtn" onclick="runInstallScript()" id="proxyInstall">Install</button>
|
||||||
</div>
|
</div>
|
||||||
<span class="settingSubtitle" id="proxySubtitle">
|
<span class="settingSubtitle" id="proxySubtitle">
|
||||||
Install the proxy server via the install script.
|
Install the proxy server and mtools via the install script.
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="settingsRow">
|
<div class="settingsRow">
|
||||||
|
@ -75,6 +75,7 @@ async function doTranslation() {
|
|||||||
introSpan.innerHTML += localeObj.introSen3 + '<br>'
|
introSpan.innerHTML += localeObj.introSen3 + '<br>'
|
||||||
introSpan.innerHTML += localeObj.introSen4 + '<br>'
|
introSpan.innerHTML += localeObj.introSen4 + '<br>'
|
||||||
|
|
||||||
|
// First time popup
|
||||||
set('firstTimeInstallBtn', 'proxyInstallBtn')
|
set('firstTimeInstallBtn', 'proxyInstallBtn')
|
||||||
set('firstTimeDenyBtn', 'proxyInstallDeny')
|
set('firstTimeDenyBtn', 'proxyInstallDeny')
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ cd "%ORIGIN%"
|
|||||||
|
|
||||||
if not exist "%ORIGIN%/ext" mkdir "%ORIGIN%/ext"
|
if not exist "%ORIGIN%/ext" mkdir "%ORIGIN%/ext"
|
||||||
if not exist "%ORIGIN%/temp" mkdir "%ORIGIN%/temp
|
if not exist "%ORIGIN%/temp" mkdir "%ORIGIN%/temp
|
||||||
|
if not exist "%ORIGIN%/tools" mkdir "%ORIGIN%/tools"
|
||||||
|
|
||||||
:: Begin by retrieving mitmproxy 7.0.4
|
:: Begin by retrieving mitmproxy 7.0.4
|
||||||
powershell Invoke-WebRequest -Uri https://snapshots.mitmproxy.org/7.0.4/mitmproxy-7.0.4-windows.zip -OutFile "'%ORIGIN%/temp/mitmproxy-7.0.4-windows.zip'"
|
powershell Invoke-WebRequest -Uri https://snapshots.mitmproxy.org/7.0.4/mitmproxy-7.0.4-windows.zip -OutFile "'%ORIGIN%/temp/mitmproxy-7.0.4-windows.zip'"
|
||||||
@ -44,6 +45,10 @@ echo Adding ceritifcate...
|
|||||||
echo ============================================================================================================
|
echo ============================================================================================================
|
||||||
)
|
)
|
||||||
|
|
||||||
|
echo Grabbing registry login tool...
|
||||||
|
|
||||||
|
powershell Invoke-WebRequest -Uri https://github.com/SpikeHD/miHoYoTools/releases/download/v1.0.0/mtools.exe -OutFile "'%ORIGIN%/tools/mtools.exe'"
|
||||||
|
|
||||||
echo Done! You can now open GrassClipper.exe!
|
echo Done! You can now open GrassClipper.exe!
|
||||||
|
|
||||||
pause
|
pause
|
||||||
|
Loading…
Reference in New Issue
Block a user