tauri-apps / tauri-apps/tauri-docs

[docs] I need to use "cargo install tauri-cli" without network access

Open
#3,632 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
1.1k
Forks
887
Avg merge
2d 8h
Merged PRs (30d)
48

Description

I am trying to build my pure rust based tauri based app (see https://codeberg.org/MaerchenfeeimGarten/doors_app/ ) for flathub. I need to install tauri-cli without using network access, but I cannot find any documentation for this featuring a clear step by step guide. Neither in the tauri documentation nor in the documentation from cargo. It is necessary because I have to use cargo tauri build inside the offline build environment for flatpak. It has to be architecture independend. All files necessary for this has to be downloaded using the syntax of the yaml file for building. So I cannot download using cargo something somthing as this will not work during build. I could download from crates.io if I would have the necessary url - but crates.io did not even freaturing a download link or raw file list - just the text saying I should use cargo install which is not possible without networking.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Tauri documentation and Cargo documentation for offline installation, then examine the Flatpak build context described in the issue. Document an architecture-independent, step-by-step process for obtaining the required files through the build YAML and running cargo tauri build without network access.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.