Skip to content

Commit

Permalink
manifest.py: Remove tmp hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Aug 29, 2024
1 parent 26a1fb2 commit d54130f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions metal_libraries/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ def build_pkg(input: str, pkg_signing_identity: str = None, notarization_team_id
"""
Builds a macOS package from a given directory
"""
import logging
logging.basicConfig(
level=logging.INFO,
format="[%(asctime)s] [%(filename)-22s] [%(levelname)-8s] [%(lineno)-3d]: %(message)s",
handlers=[logging.StreamHandler()]
)

name = Path(input).name
assert macos_pkg_builder.Packages(
Expand Down
6 changes: 0 additions & 6 deletions metal_libraries/ipsw/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ def update_manifest(self) -> None:
# Add new item
current_manifest.append(data)

# Temp hack: Fix '24A5327a' missing 'version' property
# Set to '15.0'
for item in current_manifest:
if item["build"] == "24A5327a":
item["version"] = "15.0"

# Sort by date
current_manifest = sorted(current_manifest, key=lambda x: datetime.strptime(x["date"], "%Y-%m-%d"), reverse=True)

Expand Down

0 comments on commit d54130f

Please sign in to comment.