Skip to content

Commit

Permalink
Merge pull request #1232 from Oganesson897/packwiz
Browse files Browse the repository at this point in the history
Hotfix: Error packaging client mod in server side
  • Loading branch information
oliwier509 authored Jan 19, 2025
2 parents 4a88f40 + f3093f1 commit 4fb5a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def export_server_pack():
shutil.copy("LICENSE", "build/server/LICENSE")

os.chdir("build/server")
subprocess.run(['java', '-jar', 'packwiz-installer-bootstrap.jar', '../../pack.toml'], check=True)
subprocess.run(['java', '-jar', 'packwiz-installer-bootstrap.jar', '-s', 'server', '../../pack.toml'], check=True)

with zipfile.ZipFile(server_pack, 'w') as zipf:
for folder in ['config', 'groovy', 'libraries', 'mods', 'structures']:
Expand Down

0 comments on commit 4fb5a89

Please sign in to comment.