Skip to content

feat(linux): stage native desktop packages with declared tray dependencies - #1113

Merged
rowkav09 merged 2 commits into
mainfrom
linux-native
Oct 3, 2026
Merged

rowkav09 merged 2 commits into
mainfrom
linux-native

Conversation

@rowkav09

@rowkav09 rowkav09 commented Oct 3, 2026

Copy link
Copy Markdown
Member

Refs #779.

Adds a shared staging step and builders for native Linux packages (.deb, .rpm, Arch), with the tray's dependencies declared in each package. docs/linux-native-packages.md has the build commands.

What this does not do: it only builds files. It does not install, publish, enable autostart or cut a release. It only accepts x86_64 and our own CI-generated Node bundle, which has to stay unchanged while packaging runs (documented in the doc).

Testing: the .deb builder and the staging step are covered by tests. The .rpm and Arch builders have not been executed yet, and none of the packages has been installed on a real distro; that needs a run on each target distro.

@codecov

codecov Bot commented Oct 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Comment thread test/build-deb.test.js
function listingDesktop(file) {
const dir = mkdtempSync(join(tmpdir(), "np-deb-extract-"));
execFileSync("dpkg-deb", ["-x", file, dir]);
return execFileSync("cat", [join(dir, "usr/share/applications/nowplaying.desktop")], { encoding: "utf8" });
@rowkav09
rowkav09 merged commit 641763a into main Oct 3, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants