Skip to content

Commit

Permalink
Merge pull request #2489 from HDR-Development/pre-release
Browse files Browse the repository at this point in the history
Small Workflows Update
  • Loading branch information
WuBoytH authored Aug 2, 2024
2 parents e32de16 + 5b74c98 commit a3a53f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
branches:
- dev
- pre-release
types: [opened, reopened, synchronize, ready_for_review]

jobs:
Expand Down
9 changes: 0 additions & 9 deletions scripts/full_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,10 @@ def download_and_extract(owner: str, repo: str, tag: str, asset: str, extract_di
hash_package.hash_folder("switch-package", "content_hashes.txt")
hash_package.hash_folder_json("switch-package", "content_hashes.json")

# make a ryujinx package too
print("making ryujinx-package.zip")
os.remove("switch-package/atmosphere/contents/01006A800016E000/romfs/skyline/plugins/hdr-launcher.nro")
os.mkdir("switch-package/sdcard")
shutil.move("switch-package/atmosphere/", "switch-package/sdcard/")
shutil.move("switch-package/ultimate/", "switch-package/sdcard/")
shutil.make_archive("ryujinx-package", 'zip', 'switch-package')

# move the stuff to artifacts folder
if os.path.exists("artifacts"):
shutil.rmtree("artifacts")
os.mkdir("artifacts")
shutil.move("switch-package.zip", "artifacts")
shutil.move("ryujinx-package.zip", "artifacts")
shutil.move("content_hashes.txt", "artifacts")
shutil.move("content_hashes.json", "artifacts")

0 comments on commit a3a53f7

Please sign in to comment.