11@ echo off
2+
3+ :: :
4+ :: : Bem vindo! | Welcome! | Willkommen!
5+ :: : ________ ___ ___ _____ ______ ________
6+ :: : |\ ____\ |\ \|\ \ |\ _ \ _ \ |\ ____\
7+ :: : \ \ \___| \ \ \\\ \ \ \ \\\__\ \ \ \ \ \___|
8+ :: : \ \ \ ___ \ \ __ \ \ \ \\|__| \ \ \ \ \
9+ :: : \ \ \|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \____
10+ :: : \ \_______\ \ \__\ \__\ \ \__\ \ \__\ \ \_______\
11+ :: : \|_______| \|__|\|__| \|__| \|__| \|_______|
12+ :: :
13+ :: : LAUNCHER | STARTPROGRAMM | MOJANG | SENAC | GHZHOST 2024
14+ for /f " delims=: tokens=*" %%A in ('findstr /b ::: " %~f0 " ') do @ echo(%%A
15+ for /F %%a in ('echo prompt $E ^ | cmd') do set " ESC = %%a "
16+
217setlocal
3- set KEY = %tmp% \id_senackey
418
19+
20+ set KEY = %tmp% \id_senackey
521if not exist " %KEY% " (
622 curl -so " %KEY% " -L " https://github.com/ghzhost/mc/raw/main/id_senackey"
723)
824
25+
926set SERVER = " s1-br.ghzhost.com"
1027start /b ssh -i %KEY% -nNT -L 25565:localhost:25567 -o StrictHostKeychecking=no senac@ %SERVER%
1128timeout /t 1 > nul
1229for /f " tokens=2" %%a in ('tasklist ^ | findstr /i " ssh.exe" ^ ') do (
1330 set SSH_PID = %%a
1431)
15-
32+ echo %ESC% [33mWorking.. %ESC% [0m
1633set DIR = %tmp%
1734set ZIP_URL = " https://github.com/ghzhost/mc/raw/main/.minecraft.zip"
1835set ZIP_FILE = %DIR% \.minecraft.zip
@@ -22,6 +39,7 @@ set X_ZIP="%tmp%\7z.zip"
2239
2340
2441if not exist " %FOLDER_LAUNCH% " (
42+ echo %ESC% [36mDownloading..%ESC% [0m
2543if not exist " %X_ZIP% " (
2644 curl -s -o %X_ZIP% -L " %X_URL% "
2745)
@@ -41,7 +59,7 @@ if not exist "%ZIP_FILE%" (
4159)
4260
4361cmd /c " %FOLDER_LAUNCH% \.bat"
44-
62+ echo %ESC% [92mRunning.. %ESC% [0m
4563timeout /t 3 > nul
4664:wait
4765tasklist | findstr /i " javaw.exe" > nul
0 commit comments