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

[feat] Get bundle tools from local path #11801

Open
taoqf opened this issue Nov 27, 2024 · 3 comments
Open

[feat] Get bundle tools from local path #11801

taoqf opened this issue Nov 27, 2024 · 3 comments
Labels
scope: bundler The bundler used in our cli to make installers type: feature request

Comments

@taoqf
Copy link

taoqf commented Nov 27, 2024

Describe the problem

I cannot build app because I could not access to network.

Describe the solution you'd like

  1. Release these resources with stable tauri.
  2. Support an option like --localpath to copy local files from.
  3. Both above.

Alternatives considered

  1. Mirror, I searched and find env TAURI_BUNDLER_TOOLS_GITHUB_MIRROR and TAURI_BUNDLER_TOOLS_GITHUB_MIRROR_TEMPLATE, and I prefer local file, it's more stable.

Additional context

No response

@FabianLars
Copy link
Member

Release these resources with stable tauri.

Some of the tools used are too large to be included in tauri itself imo

Support an option like --localpath to copy local files from.

I agree that an explicit approach makes sense, but for now simply adding the files to the ~/.cache/tauri (linux) or AppData/Local/tauri (windows) directory yourself should skip the downloads.

@FabianLars FabianLars changed the title [feat] Bundle [feat] Get bundle tools from local path Nov 27, 2024
@FabianLars FabianLars added the scope: bundler The bundler used in our cli to make installers label Nov 27, 2024
@taoqf
Copy link
Author

taoqf commented Nov 30, 2024

I checked fn prepare_tools, Thanks.
Should I close this issue?

@FabianLars
Copy link
Member

No, i think we should think about some proper support for this, even if it's just documentation on what tools are needed where.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: bundler The bundler used in our cli to make installers type: feature request
Projects
None yet
Development

No branches or pull requests

2 participants