Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
f0d728b4
Commit
f0d728b4
authored
Apr 27, 2022
by
iTruth
Committed by
memetrollsXD
Apr 27, 2022
Browse files
Fix start.cmd can't find grasscutter when modify SERVER_JAR_NAME in start_config.cmd
parent
2ba16cf8
Changes
1
Show whitespace changes
Inline
Side-by-side
start.cmd
View file @
f0d728b4
...
@@ -33,7 +33,7 @@ if not "%JAVA_PATH%" == "DO_NOT_CHECK_PATH" (
...
@@ -33,7 +33,7 @@ if not "%JAVA_PATH%" == "DO_NOT_CHECK_PATH" (
goto
:EXIT
goto
:EXIT
)
)
)
else
set
JAVA_PATH
=
)
else
set
JAVA_PATH
=
if
not
exist
"
%SERVER_PATH%
grasscutter.jar
"
(
if
not
exist
"
%SERVER_PATH%
%
SERVER_JAR_NAME
%
"
(
call
:LOG
[
ERROR
]
Server
jar
not
found
.
call
:LOG
[
ERROR
]
Server
jar
not
found
.
goto
:EXIT
goto
:EXIT
)
)
...
@@ -129,7 +129,7 @@ del /f /q "%temp%\db.vbs" >nul 2>nul
...
@@ -129,7 +129,7 @@ del /f /q "%temp%\db.vbs" >nul 2>nul
:GAME
:GAME
call
:LOG
[
INFO
]
Starting
server
...
call
:LOG
[
INFO
]
Starting
server
...
"
%JAVA_PATH%
java.exe"
-jar
"
%SERVER_PATH%
grasscutter.jar
"
"
%JAVA_PATH%
java.exe"
-jar
"
%SERVER_PATH%
%
SERVER_JAR_NAME
%
"
call
:LOG
[
INFO
]
Server
stopped
call
:LOG
[
INFO
]
Server
stopped
:EXIT
:EXIT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment