[feat] Get bundle tools from local path
Describe the problem
I cannot build app because I could not access to network.
Describe the solution you'd like
- Release these resources with stable tauri.
- Support an option like
--localpathto copy local files from. - Both above.
Alternatives considered
- Mirror, I searched and find env
TAURI_BUNDLER_TOOLS_GITHUB_MIRRORandTAURI_BUNDLER_TOOLS_GITHUB_MIRROR_TEMPLATE, and I prefer local file, it's more stable.
Additional context
No response
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.
I checked fn prepare_tools, Thanks.
Should I close this issue?
No, i think we should think about some proper support for this, even if it's just documentation on what tools are needed where.
@FabianLars local-tools is '.tauri', but the docs said .tauri-tools.
thanks https://github.com/tauri-apps/tauri/pull/12409