Skip to content

When building a Tauri project, can certain downloaded items specify a local file path through configuration or environment variables? #13916

Answered by FabianLars
xb284524239 asked this question in Q&A
Discussion options

You must be logged in to vote

Nope, not yet at least. If you want to download the files yourself you have to move them to the required locations as well, example: #7338 (comment)

Alternatively, if it's just the github links we use being problematic you can also specify different download urls via one of these env vars:

  • TAURI_BUNDLER_TOOLS_GITHUB_MIRROR - Specify a GitHub mirror to download files and tools used by tauri bundler.
  • TAURI_BUNDLER_TOOLS_GITHUB_MIRROR_TEMPLATE - Specify a GitHub mirror template to download files and tools used by tauri bundler, for example: https://mirror.example.com/<owner>/<repo>/releases/download/<version>/<asset>.

Copied from https://github.com/tauri-apps/tauri/blob/dev/crates/tauri-cl…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@xb284524239
Comment options

Answer selected by xb284524239
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants