Skip to content

fix: use astrbot-desktop as Linux package name#149

Merged
zouyonghe merged 2 commits into
AstrBotDevs:mainfrom
zouyonghe:fix/linux-package-name
Jul 3, 2026
Merged

fix: use astrbot-desktop as Linux package name#149
zouyonghe merged 2 commits into
AstrBotDevs:mainfrom
zouyonghe:fix/linux-package-name

Conversation

@zouyonghe

@zouyonghe zouyonghe commented Jul 3, 2026

Copy link
Copy Markdown
Member

Summary

Use astrbot-desktop as the Linux package/product name instead of the current auto-normalized astr-bot.

The default Linux package name was derived from productName: "AstrBot" and ended up as astr-bot in RPM metadata. This is confusing because AstrBot is a single brand name and this repository ships the desktop edition.

Changes

  • Add src-tauri/tauri.linux.conf.json with Linux-only productName: "astrbot-desktop".
  • Keep the base productName: "AstrBot" unchanged for non-Linux platforms and app/window branding.

Verification

Local:

  • rtk cargo check --locked

Fedora aarch64 build via ssh fedora:

  • cargo tauri build --bundles deb,rpm --config '{"build":{"beforeBuildCommand":""}}'
  • Generated Linux bundle filenames:
    • astrbot-desktop_4.26.4_arm64.deb
    • astrbot-desktop-4.26.4-1.aarch64.rpm
  • Verified RPM metadata:
Name        : astrbot-desktop
Version     : 4.26.4
Architecture: aarch64

The build ended after producing bundles with the expected signing-key warning because the Fedora test environment has the public update key but not TAURI_SIGNING_PRIVATE_KEY.

Summary by Sourcery

Build:

  • Add Linux-only Tauri config to override the package/product name to astrbot-desktop for generated DEB/RPM bundles.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a new configuration file tauri.linux.conf.json for Linux, specifying the product name as 'astrbot-desktop'. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@zouyonghe zouyonghe merged commit 25499a6 into AstrBotDevs:main Jul 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant