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

Support changing download source in postinstall #3081

Open
typed-sigterm opened this issue Jan 28, 2025 · 2 comments
Open

Support changing download source in postinstall #3081

typed-sigterm opened this issue Jan 28, 2025 · 2 comments

Comments

@typed-sigterm
Copy link

typed-sigterm commented Jan 28, 2025

Is your feature request related to a problem? Please describe.
You know what GFW had being doing😶

const url = `https://github.com/${repo}/releases/download/v${version}/${pkgName}_${platform}_${arch}.tar.gz`;

const checksumFileUrl = `https://github.com/${repo}/releases/download/v${version}/${pkgName}_${version}_checksums.txt`;

Describe the solution you'd like
Read template string from an environment variable to replace the hard-coded url.

@sweatybridge
Copy link
Contributor

Do you have the error logs by any chance? I believe we are already handling https_proxy variables using https-proxy-agent package.

@typed-sigterm
Copy link
Author

Do you have the error logs by any chance? I believe we are already handling https_proxy variables using https-proxy-agent package.

That's fixed after rebooting :)

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

No branches or pull requests

2 participants