Skip to content

Use a badge compatible with the platform the user is using

Phu Nguyen requested to merge work/download-button into master

Replace the green download button with a badge that is compatible with the platform the user is using.

  • Support Windows and Android for now. Otherwise show the Linux/AppStream one;
  • There is currently no method to detect platform, that is totally reliable. 'navigator.userAgent' is not recommended and 'navigator.platform' is deprecated, however they should be enough for our use case, at least in the near future.

Merge request reports

Loading