fix(workshop): preserve zip payload extensions#1523
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR adds support for games that require zip payloads (jar, gro) to be available as container files. It extends the workshop system to recognize these extensions, skip extraction for specific appIds, and restore original filenames by removing the temporary ChangesZip Payload Support
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
e46e383 to
4af09c7
Compare
Description
This PR fixes a workshop bug where jar and gro files are being renamed with .zip at the end of their file name then extracted.
Known games being affected: Slay the Spire and Serious Sam Fusion 2017.
Recording
Not much to show, but the screenshot below shows a jar file from a workshop mod is not being renamed with .zip at the end nor is it being extracted like it used to.
Type of Change
Checklist
#code-changes, I have discussed this change there and it has been green-lighted. If I do not have access, I have still provided clear context in this PR. If I skip both, I accept that this change may face delays in review, may not be reviewed at all, or may be closed.CONTRIBUTING.md.Summary by CodeRabbit
New Features
.grofile extension as a recognized workshop content typeTests