Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ def install_java21_local():
|
|
| 67 |
# DOWNLOAD PAPER
|
| 68 |
# ========================
|
| 69 |
def download_paper():
|
| 70 |
-
jar_path = os.path.join(BASE_DIR, "
|
| 71 |
if os.path.exists(jar_path):
|
| 72 |
return
|
| 73 |
|
|
@@ -218,7 +218,7 @@ def start_server():
|
|
| 218 |
"-Xms512M",
|
| 219 |
"-Xmx1G",
|
| 220 |
"-jar",
|
| 221 |
-
"
|
| 222 |
"--nogui"
|
| 223 |
],
|
| 224 |
cwd=BASE_DIR,
|
|
|
|
| 67 |
# DOWNLOAD PAPER
|
| 68 |
# ========================
|
| 69 |
def download_paper():
|
| 70 |
+
jar_path = os.path.join(BASE_DIR, "server.jar")
|
| 71 |
if os.path.exists(jar_path):
|
| 72 |
return
|
| 73 |
|
|
|
|
| 218 |
"-Xms512M",
|
| 219 |
"-Xmx1G",
|
| 220 |
"-jar",
|
| 221 |
+
"server.jar",
|
| 222 |
"--nogui"
|
| 223 |
],
|
| 224 |
cwd=BASE_DIR,
|