Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Using Binary for Distribution and Arch Linux Packaging for Tauri Application #9812

Closed
DenisVASI9 opened this issue May 18, 2024 · 2 comments
Labels
type: documentation Need to update the API documentation

Comments

@DenisVASI9
Copy link

Hello Tauri Team,

I am currently developing a Tauri application and am considering distribution options for Linux. I understand that Tauri can package applications into AppImage format, but I have a specific distribution strategy in mind and would like to ask for your advice:

  1. Is it possible to distribute a Tauri application as a standalone binary file without packaging it into an AppImage? I am looking for a way to provide my application as a simple executable that Linux users can run directly, bypassing the AppImage format. If this approach is supported, could you provide any details on how to extract or generate just the binary from a Tauri build?

  2. In addition to the standalone binary, I am also interested in creating an Arch Linux package for my application. Ideally, I would like to make it available through the AUR (Arch User Repository) to facilitate easy installation for Arch users. Could you offer any guidance or point me to resources on how to create an Arch Linux package from a Tauri application binary?

I appreciate any help or insights you can provide on these topics. Your assistance will be instrumental in helping me tailor the distribution of my application to the needs of my users.

Thank you for your time and support.

@DenisVASI9 DenisVASI9 added the type: documentation Need to update the API documentation label May 18, 2024
@FabianLars
Copy link
Member

  1. Nope, at least as long as we use webkitgtk (and probably gtk itself too) this doesn't seem feasible sadly. We would love it too though, especially because there's always some kind of problem with appimages.
  2. feat(bundler): Add Pacman Packaging, closes #3728 , #4301 #8656 - feat(bundler): Add Pacman package support, closes #3728 #4301 - Documentation for distributing with the Arch User Repository. tauri-docs#2146 (!) - Feedback on those PRs, especially the first 2 would be appreciated because we (or i) don't know what's best.

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale May 18, 2024
@RoseBlume
Copy link

RoseBlume commented May 21, 2024

  1. As previously stated by Fabian Lars, webkit2gtk is a required runtime dependency which can not be included into the binary through normal means.
  2. If you want to distribute on the arch user repository it is relatively simple. You can extract the debian bundle and install all of the resources. After that you simply have to adjust your dependencies to include things like libsoup and webkit2gtk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation Need to update the API documentation
Projects
None yet
Development

No branches or pull requests

3 participants