Skip to content

Commit 2dded7d

Browse files
author
Your Name
committed
'MC'
1 parent 8012e12 commit 2dded7d

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

.bat

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,35 @@
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+
217
setlocal
3-
set KEY=%tmp%\id_senackey
418

19+
20+
set KEY=%tmp%\id_senackey
521
if not exist "%KEY%" (
622
curl -so "%KEY%" -L "https://github.com/ghzhost/mc/raw/main/id_senackey"
723
)
824

25+
926
set SERVER="s1-br.ghzhost.com"
1027
start /b ssh -i %KEY% -nNT -L 25565:localhost:25567 -o StrictHostKeychecking=no senac@%SERVER%
1128
timeout /t 1 > nul
1229
for /f "tokens=2" %%a in ('tasklist ^| findstr /i "ssh.exe" ^') do (
1330
set SSH_PID=%%a
1431
)
15-
32+
echo %ESC%[33mWorking..%ESC%[0m
1633
set DIR=%tmp%
1734
set ZIP_URL="https://github.com/ghzhost/mc/raw/main/.minecraft.zip"
1835
set ZIP_FILE=%DIR%\.minecraft.zip
@@ -22,6 +39,7 @@ set X_ZIP="%tmp%\7z.zip"
2239

2340

2441
if not exist "%FOLDER_LAUNCH%" (
42+
echo %ESC%[36mDownloading..%ESC%[0m
2543
if 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

4361
cmd /c "%FOLDER_LAUNCH%\.bat"
44-
62+
echo %ESC%[92mRunning..%ESC%[0m
4563
timeout /t 3 > nul
4664
:wait
4765
tasklist | findstr /i "javaw.exe" > nul

test.bat

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@echo off
2+
:::
3+
::: Bem vindo! | Welcome! | Willkommen!
4+
::: ________ ___ ___ _____ ______ ________
5+
::: |\ ____\ |\ \|\ \ |\ _ \ _ \ |\ ____\
6+
::: \ \ \___| \ \ \\\ \ \ \ \\\__\ \ \ \ \ \___|
7+
::: \ \ \ ___ \ \ __ \ \ \ \\|__| \ \ \ \ \
8+
::: \ \ \|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \____
9+
::: \ \_______\ \ \__\ \__\ \ \__\ \ \__\ \ \_______\
10+
::: \|_______| \|__|\|__| \|__| \|__| \|_______|
11+
:::
12+
::: LAUNCHER | STARTPROGRAMM | MOJANG | SENAC | GHZHOST 2024
13+
for /f "delims=: tokens=*" %%A in ('findstr /b ::: "%~f0"') do @echo(%%A
14+

0 commit comments

Comments
 (0)