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] 避免每次从网络上拉取资源,有必要做的脚本优化 #11127

Open
bingle123 opened this issue Sep 25, 2024 · 3 comments
Open

Comments

@bingle123
Copy link

Describe the problem

网络的不稳定性会,打包过程中由于拉取资源需访问网络导致速度很慢或被中断

Describe the solution you'd like

动态生成的build_appimage.sh中多处都是需要从网络上拉取资源,尤其是从raw.githubusercontent.com拉取镜像资源,导致中国国内用户因为国家防火墙问题无法继续。
希望提供资源的可选下载地址,并且拉取资源可选择由本地复制。

Alternatives considered

No response

Additional context

No response

@FabianLars
Copy link
Member

In the last few days, two interesting PRs were merged: #10866 and #11096 - Do they solve your question/problem?

To make the bundler use local files it should be enough to just save them to the location Tauri will download them to anyway (something in ~/.cache/tauri/ i think)

@thep0y
Copy link
Contributor

thep0y commented Sep 28, 2024

你也能上github了,这个项目的主要维护者中又没有中国人,为什么不用英语提issue呢?

@thep0y
Copy link
Contributor

thep0y commented Sep 28, 2024

In the last few days, two interesting PRs were merged: #10866 and #11096 - Do they solve your question/problem?

These two PRs do not solve his problem. He is encountering an issue with a shell script located at https://github.com/tauri-apps/tauri/blob/dev/crates/tauri-bundler/src/bundle/linux/appimage/appimage. The problem might be due to network issues that prevent the file from being downloaded from GitHub. A new PR needs to be created to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants