.deb packaging and Discord RPC #67
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces two major features: Discord Rich Presence integration and automated publishing of a binary AUR package (
spotatui-bin). It also updates documentation and configuration to support these enhancements, and adds packaging metadata for Debian distribution. Below are the most important changes grouped by theme.Discord Rich Presence Integration:
discord-rich-presencedependency and a new optional feature flagdiscord-rpc, enabling Discord Rich Presence functionality by default inCargo.toml. [1] [2] [3]src/discord_rpc.rsmodule, which manages Discord Rich Presence updates in a background thread and exposes a manager for use by the application. [1] [2] [3]behavior.enable_discord_rpc, to toggle Discord Rich Presence, and updates the settings UI and config handling accordingly. [1] [2]README.mdwith documentation on Discord Rich Presence, including configuration and environment variable overrides. [1] [2]AUR Binary Package Automation:
.github/workflows/cd.ymland.github/workflows/publish-aur.ymlto automatically publish and update thespotatui-binbinary package on the Arch Linux User Repository (AUR), including checksum calculation and PKGBUILD updates. [1] [2]README.mdto recommend the pre-builtspotatui-binpackage for Arch Linux users.Debian Packaging Support:
cargo-debdependency to the CI workflow and a step to build and upload.debpackages for Linux releases. [1] [2] [3]Cargo.tomlfor proper packaging.Version and Metadata Updates:
0.35.4and updates author and repository metadata.These changes significantly improve user experience by making installation easier and adding Discord integration out of the box.# Summary