This repository has been archived by the owner on Mar 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
source.cmd
40 lines (30 loc) · 1.59 KB
/
source.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@echo off
::
:: _____ _ _ __ _ _____
:: / ____| | | |/ _| | | | ____|
:: | (___ | |_ ___ __ _ __| | |_ __ _ ___| |_| |__
:: \___ \| __/ _ \/ _` |/ _` | _/ _` / __| __|___ \
:: ____) | || __/ (_| | (_| | || (_| \__ \ |_ ___) |
:: |_____/ \__\___|\__,_|\__,_|_| \__,_|___/\__|____/
::
:: This program is free software: you can redistribute it and/or modify
:: it under the terms of the GNU Lesser General Public License as published by
:: the Free Software Foundation, either version 3 of the License, or
:: (at your option) any later version.
::
:: @author Steadfast5 Team
:: @link https://steadfast5.tk
::
TITLE Steadfast5 server software for Minecraft: Bedrock Edition
cd /d %~dp0
cd /d %~dp0 goto PMSTART
where git >nul 2>nul || (powershell -command "& { iwr https://github.com/git-for-windows/git/releases/download/v2.20.1.windows.1/Git-2.20.1-64-bit.exe -OutFile Git-2.20.1-64-bit.exe }" & start Git-2.20.1-64-bit.exe & pause)
git clone https://github.com/Steadfast5/Steadfast5.git
cd Steadfast5
powershell -command "& { iwr https://jenkins.pmmp.io/job/PHP-7.3-Aggregate/lastSuccessfulBuild/artifact/PHP-7.3-Windows-x64.zip -OutFile PHP-7.3-Windows-x64.zip }"
powershell -command "Expand-Archive -Path PHP-7.3-Windows-x64.zip -DestinationPath ."
powershell -command "& { iwr https://raw.githubusercontent.com/Steadfast5/Installer-scripts/master/installer/start.cmd -OutFile start.cmd }"
del PHP-7.3-Windows-x64.zip
echo Steadfast5 has been installed. To start your server, run the start.cmd file. You can now safely close this window.
pause
exit 1