bitcoincore.org icon indicating copy to clipboard operation
bitcoincore.org copied to clipboard

Auto-detect non-x86 Linux systems on Download page

Open harding opened this issue 5 years ago • 1 comments

The big blue button on the download page uses the browser user agent string to recommend a binary for the user to download. Presently it only recommends x86 binaries for Linux users. Either it should also recommend ARM and RISCV binaries for those users or we should just get rid of the button and so encourage users to select their own platform.

2020-02-06-09_06_51_451502339

List of popular browser strings to test matching against: https://www.whatismybrowser.com/detect/what-is-my-user-agent

Help needed: I don't see any browser strings on the above list for RISCV. Does X11 run on that platform? If so, anyone running a graphical browser could help by replying with their browser string (e.g. as reported here).

Previous discussion: https://github.com/bitcoin-core/bitcoincore.org/pull/695#pullrequestreview-354439276

harding avatar Feb 06 '20 15:02 harding

Presently it only recommends x86 binaries for Linux users. Either it should also recommend ARM and RISCV binaries for those users or we should just get rid of the button and so encourage users to select their own platform.

I think it should recommend all of x86, ARM, RISCV, whatnot, Linux binaries (maybe ordered by "common sense", dunno), until you find the way to reliably detect the computer type/architecture. I would suggest not removing the big blue button. I think there can't be three links in the button, so the hell with it and add as many big blue buttons as architectures.

The architecture problem hitting Apple as well is imminent, I suppose.


BTW my resolution totally wrecks the big blue button off.

Typical: Screen Shot 2022-04-19 at 23 39 36

Artificially enlarged: Screen Shot 2022-04-19 at 23 40 42

Will try to tweak and if get anything interesting add ticket and PR.

katesalazar avatar Apr 19 '22 21:04 katesalazar