Skip to content

feat: add Linux desktop support#204

Merged
GCWing merged 1 commit intoGCWing:mainfrom
xwhu:feat/linux-enabler
Mar 20, 2026
Merged

feat: add Linux desktop support#204
GCWing merged 1 commit intoGCWing:mainfrom
xwhu:feat/linux-enabler

Conversation

@xwhu
Copy link
Copy Markdown

@xwhu xwhu commented Mar 20, 2026

Summary

This PR adds Linux desktop support to BitFun, enabling builds for Debian/Ubuntu (.deb), RPM-based distros (.rpm), and universal AppImage packages.

Changes

  • Build Scripts: Added 4 npm scripts for Linux builds:

    • `desktop:build:linux` - Full Linux build (all formats)
    • `desktop:build:linux:deb` - Debian package only
    • `desktop:build:linux:rpm` - RPM package only
    • `desktop:build:linux:appimage` - AppImage only
  • Tauri Configuration: Updated `tauri.conf.json` with:

    • Linux bundle configuration
    • Added `icon.png` for Linux icon support
    • Debian package dependencies (libwebkit2gtk-4.1-0, libgtk-3-0)
  • Documentation:

    • Updated README.md with Linux platform badge and build instructions
    • Created `docs/linux-setup.md` with system requirements for Debian/Ubuntu, Arch, and Fedora

Test Plan

  • Install system dependencies per `docs/linux-setup.md`
  • Run `pnpm run desktop:build:linux`
  • Verify `.deb` package is created in `src/apps/desktop/target/release/bundle/`
  • Install and test the generated package

Notes

  • Debug build tested successfully (698MB binary)
  • Release bundle build requires significant time (30+ minutes typical for Rust release builds)
  • No changes to core application code - only build configuration and documentation

- Add Linux build scripts (deb, rpm, appimage)
- Update tauri.conf.json with Linux bundle config
- Add icon.png for Linux icon support
- Add Linux setup documentation
- Update README with Linux build instructions
- Mark Linux as supported platform
@GCWing GCWing merged commit d9d22e7 into GCWing:main Mar 20, 2026
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.

2 participants