Skip to content

Commit

Permalink
feat: make sure polymc launcher work too
Browse files Browse the repository at this point in the history
  • Loading branch information
KorewaLidesu authored Sep 14, 2024
1 parent c131fe1 commit 4d9ad14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@
lwjgl_version = str(kd['name']).split(':')[2]
# Temp fix for prism launcher (allow ARM64 arch)
if '-arm64' in kd['name']:
kd['rules'][0]['os']['name'] += "-arm64"
temp = {'action': 'allow', 'os': {}}
temp['os']['name'] = kd['rules'][0]['os']['name'] + "-arm64"
kd['rules'].append(temp)
lwjgl_patches_json['libraries'].append(kd)
else:
if 'com.cleanroommc:cleanroom' in kd['name']:
Expand Down

0 comments on commit 4d9ad14

Please sign in to comment.