Skip to content

Commit

Permalink
Update generate-script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lilingfengdev authored Apr 27, 2024
1 parent 6455db3 commit 0e72f4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generate-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ def generate_command(server: str, meta: VersionMeta):
if meta.pufferfish and meta.minecraft_version >= 18:
base += "--add-modules=jdk.incubator.vector "

if ask("开启大页面(十分推荐使用)(需要管理员权限)"):
base += "-XX:+UseLargePages -XX:LargePageSizeInBytes=2m "

if meta.leaf:
base += "-DLeaf.library-download-repo=https://maven.aliyun.com/repository/public "

Expand Down

0 comments on commit 0e72f4b

Please sign in to comment.