Commit 1356b8d
committed
build: patch .deb scripts for headless and WSL compatibility
- 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.1 parent 8afc1a0 commit 1356b8d
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
270 | 292 | | |
271 | 293 | | |
272 | 294 | | |
| |||
0 commit comments