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 set a proxy manually for flatpak operation #15

Open
BLumia opened this issue Apr 3, 2024 · 0 comments
Open

Support set a proxy manually for flatpak operation #15

BLumia opened this issue Apr 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@BLumia
Copy link

BLumia commented Apr 3, 2024

This is a feature request.

In some region, it can be pretty slow to access flathub for updating flatpak packages, but accessing Steam's server won't be an issue. In such case, allowing setting a proxy only for flatpak operation instead of setting a system-level proxy could be handy.

The flatpak executable will use the proxy specified in https_proxy environment variable to access the flatpak remote repo. So to implement such feature, we can add a setting option to allow user enter a proxy url (e.g. http://127.0.0.1:11451), check if the option is empty, and set the https_proxy environment variable before running flatpak commands if it's not empty could be ok.

I can help implementing this if it's acceptable but it might take some time to learn about how the decky thing works before I can start hacking. It could be great if you can implement it if possible 😂

Let me know if you need any additional information. Thanks!

@jurassicplayer jurassicplayer self-assigned this Jul 29, 2024
@jurassicplayer jurassicplayer added the enhancement New feature or request label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants