Skip to content

Commit

Permalink
Simplify package name split logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Z1ni committed Sep 22, 2023
1 parent f87534a commit 6603432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def read_user_containers(user_wgs_dir: Path) -> Tuple[str, List[Dict[str, Any]]]
# Unknown
f.read(4)

store_pkg_name = read_utf16_str(f).split("!Game")[0].split("!Retail")[0].split("!AppChorusShipping")[0].split("!App")[0]
store_pkg_name = read_utf16_str(f).split("!")[0]

# Creation date, FILETIME
creation_date = read_filetime(f)
Expand Down

0 comments on commit 6603432

Please sign in to comment.