[Feature Request]: Extend mods functionality with proxy support
soredake opened this issue · comments
The request
Extend mods functionality with proxy support, how this will look:
You create AIMP.AIMP-proxy
with these contents:
http://127.0.0.1:8118
And, WAU will use this proxy --proxy http://127.0.0.1:8118
when updating AIMP.
Is your feature request related to a problem?
All russian ips are blocked in my country, so I need to use proxy for installing/updating AIMP, for installing I can already use `--proxy`, but not for updating.
Additional information
Requested before: #347
Proxy support can be enabled with winget settings --enable ProxyCommandLineOptions
You could write your own upgrade string in an AppID-preinstall.ps1
using winget with --proxy http://127.0.0.1:8118
.
Runs before trying to upgrade/install the AppID.
All the variables/values are there when the mod is called.
I think @KnifMelti's solution is the best approach for this type of issue. Otherwise, WAU would become overly complex for all these kinds of cases.
Closing for now, thanks for answers!