build: patch .deb scripts for headless and WSL compatibility#346
build: patch .deb scripts for headless and WSL compatibility#346rainxchzed merged 2 commits intomainfrom
Conversation
- Add a new step to the Linux desktop build workflow to modify `.deb` installer scripts. - Patch `postinst`, `prerm`, and `postrm` scripts to make `xdg-utils` commands non-fatal. - Append `|| true` to calls for `xdg-desktop-menu`, `xdg-icon-resource`, and `xdg-mime`. - Ensure package installation and removal succeed in headless environments, Docker containers, and WSL where desktop services may be unavailable.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughA new Linux CI step is added to post-process generated Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 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 |
.debinstaller scripts.postinst,prerm, andpostrmscripts to makexdg-utilscommands non-fatal.|| trueto calls forxdg-desktop-menu,xdg-icon-resource, andxdg-mime.Summary by CodeRabbit