Skip to content

Commit

Permalink
Update start.bat
Browse files Browse the repository at this point in the history
Fixed the issue where it wasn't possible to change the server jar while in boot sequence. Now pressing 0 will allow you to change the jar.
  • Loading branch information
Krak8 authored Jan 3, 2025
1 parent ff9a07e commit 9bad88b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion start.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off
setlocal enabledelayedexpansion
set Version=1.7.5
set Version=1.7.6
set configDir=.\.AdvanceStartup
:: change the line below to use different java (point to java.exe)
set java=java
Expand Down Expand Up @@ -172,6 +172,7 @@ goto :eof

:autodownload
del %serverjar%
del %configDir%\autodownload.log
set autoUrl=https://mcutils.com/api/server-jars
:: Fetch the JSON data using PowerShell and save it to a temporary file
powershell -Command "Invoke-WebRequest -Uri '%autoUrl%' -UseBasicParsing | Select-Object -ExpandProperty Content | Out-File -FilePath server.json"
Expand Down

0 comments on commit 9bad88b

Please sign in to comment.