portmaster icon indicating copy to clipboard operation
portmaster copied to clipboard

Attempt to add support for proxying updates and other HTTP requests - Request for Feedback - Do Not Merge

Open Axionize opened this issue 2 years ago • 0 comments

I'm attempting to add support for configuring an HTTP/SOCKS proxy for updates and other HTTP requests sent by portmaster.

I have succeeded in getting this to work with a hard-coded string by modifying portbase in my fork here: https://github.com/Axionize/portbase. Nevertheless, making this a compile-time variable is obviously not ideal and I've been stuck trying to figure out how to add a config setting for this.

It appears that I can pass the proxy string from some kind of data registry in portmaster to portbase but I'm struggling to figure out how to expose this setting to the end user as an option in the Advanced Menu in the Updates drop-down.

I was planning to bang my head against the wall looking at how portmaster, porbase, and portmaster-ui fit together until it worked but figured I should just ask. How do I expose a setting in the webui and pass that data from the ui -> portmaster -> portbase?

Also, what's the workflow supposed to look like for putting these components together then testing and debugging all of them?

Axionize avatar Dec 27 '23 01:12 Axionize