Skip to content

Commit

Permalink
Fix failed to install
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkingRobot committed Nov 2, 2023
1 parent 239f71d commit 74195b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/create_unofficial.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
subprocess.check_call(['7z', 'd', UNOFFICIAL_ZIP, f"{PROJECT_NAME}.json"])

with zipfile.ZipFile(UNOFFICIAL_ZIP) as file:
members = file.namelist()
members = [member for member in file.namelist() if member in (f"{PROJECT_NAME}.dll", f"{PROJECT_NAME}.deps.json", f"{PROJECT_NAME}.json", f"{PROJECT_NAME}.pdb")]

subprocess.check_call(['7z', 'rn', UNOFFICIAL_ZIP] + list(chain.from_iterable((m, m.replace(PROJECT_NAME, f"{PROJECT_NAME}Unofficial")) for m in members)))

Expand Down

0 comments on commit 74195b5

Please sign in to comment.