mirror of
https://github.com/NinjaCheetah/WiiPy.git
synced 2026-02-17 02:25:39 -05:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
1f82aa61c7
|
|||
|
125ba4ea69
|
|||
|
7c4906f0db
|
|||
|
2066f8b4a2
|
6
.github/workflows/python-build.yaml
vendored
6
.github/workflows/python-build.yaml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
- name: Build Application
|
- name: Build Application
|
||||||
run: |
|
run: |
|
||||||
nuitka3 --show-progress --assume-yes-for-downloads --onefile wiipy.py
|
python -m nuitka --show-progress --assume-yes-for-downloads --onefile wiipy.py
|
||||||
- name: Prepare Package for Upload
|
- name: Prepare Package for Upload
|
||||||
run: |
|
run: |
|
||||||
mv wiipy.bin ~/wiipy
|
mv wiipy.bin ~/wiipy
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
- name: Build Application
|
- name: Build Application
|
||||||
run: |
|
run: |
|
||||||
nuitka3 --show-progress --assume-yes-for-downloads --onefile wiipy.py
|
python -m nuitka --show-progress --assume-yes-for-downloads --onefile wiipy.py
|
||||||
- name: Prepare Package for Upload
|
- name: Prepare Package for Upload
|
||||||
run: |
|
run: |
|
||||||
mv wiipy.bin ~/wiipy
|
mv wiipy.bin ~/wiipy
|
||||||
@@ -89,7 +89,7 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
- name: Build Application
|
- name: Build Application
|
||||||
run: |
|
run: |
|
||||||
nuitka --show-progress --assume-yes-for-downloads --onefile wiipy.py
|
python -m nuitka --show-progress --assume-yes-for-downloads --onefile wiipy.py
|
||||||
- name: Upload Application
|
- name: Upload Application
|
||||||
uses: actions/upload-artifact@v4.3.0
|
uses: actions/upload-artifact@v4.3.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -106,7 +106,8 @@ def handle_nus_title(args):
|
|||||||
title.content.content_list = content_list
|
title.content.content_list = content_list
|
||||||
|
|
||||||
# Try to decrypt the contents for this title if a ticket was available.
|
# Try to decrypt the contents for this title if a ticket was available.
|
||||||
if can_decrypt is True and output_dir is not None:
|
if output_dir is not None:
|
||||||
|
if can_decrypt is True:
|
||||||
for content in range(len(title.tmd.content_records)):
|
for content in range(len(title.tmd.content_records)):
|
||||||
print(" - Decrypting content " + str(content + 1) + " of " + str(len(title.tmd.content_records)) +
|
print(" - Decrypting content " + str(content + 1) + " of " + str(len(title.tmd.content_records)) +
|
||||||
" (Content ID: " + str(title.tmd.content_records[content].content_id) + ")...")
|
" (Content ID: " + str(title.tmd.content_records[content].content_id) + ")...")
|
||||||
|
|||||||
2
wiipy.py
2
wiipy.py
@@ -14,7 +14,7 @@ if __name__ == "__main__":
|
|||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description="WiiPy is a simple command line tool to manage file formats used by the Wii.")
|
description="WiiPy is a simple command line tool to manage file formats used by the Wii.")
|
||||||
parser.add_argument("--version", action="version",
|
parser.add_argument("--version", action="version",
|
||||||
version=f"WiiPy v1.2.0, based on libWiiPy v{version('libWiiPy')} (from branch \'main\')")
|
version=f"WiiPy v1.2.1, based on libWiiPy v{version('libWiiPy')} (from branch \'main\')")
|
||||||
subparsers = parser.add_subparsers(dest="subcommand", required=True)
|
subparsers = parser.add_subparsers(dest="subcommand", required=True)
|
||||||
|
|
||||||
# Argument parser for the WAD subcommand.
|
# Argument parser for the WAD subcommand.
|
||||||
|
|||||||
Reference in New Issue
Block a user