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
Mullvad Browser support #25
Comments
That would be interesting. There used to be [1] something similar (update-i2pbrowser) but with less changes required. update-torbrowser allows environment variables to be overwritten exactly to support such use cases. Would it be possible to add a Maybe update-torbrowser would need slight modifications too in case some variables cannot be adjusted yet as environment variables. That would seem to be a clean design. The only unclean but probably out-of-scope for this ticket would be a minor imperfection. update-torbrowser would have a privileged position. It downloads Tor Browser, gets its variables from its own script and doesn't require a wrapper. An even cleaner design would be if update-torbrowser would also just be a wrapper script with "equal rights" comparable to update-i2pbrowser, update-mullvadbrowser. That would ensure the long term stability of this solution that no code changes break the wrappers without getting noticed. [1] Not sure that is still tested, maintained. |
Yep, that goes pretty far. I did use update-i2pbrowser as a reference.
Yep, such cases are at least
Would checks like these (before the last "fallback") be okay for those?: if [ -n "$TBB_SIG_FILENAME" ] && [ "$tb_browser_name" = "mullvad-browser" ]; then
TBB_SIG_FILENAME="mullvad-browser-${ARCH_DOWNLOAD}-${tbb_version}.tar.xz.asc"
fi
Sounds good, but indeed probably out-of-scope for this. |
In that case it seems scripting can be avoided by using more variables. If you need to change
script default in update-torbrowser would be:
and update-mullvadbrowser wrapper would set:
|
I would appreciate a PR for the things which can be done without scripting. Only overwriting variables and variablizing where neeed. Just leave the more complex things that might require scripting if any. Can be looked into after getting this started. |
Now that tb-updater support was merged, any chance you could contribute the tb-starter modifications too please? |
This was done. |
Hello!
I tried using this script to download and install Mullvad Browser and at a glance it appears to work with fairly minimal changes (same signers, same structure, possibly the same release process as well). Separate changes will of course need to be made to tb-starter as well.
I could be interested in working on a pull request, if that's something there's interest in, though some assistance will likely be necessary.
Here are some relevant links
The text was updated successfully, but these errors were encountered: