JabRef / JabRefOnline

https://www.jabref.org
MIT License
32 stars 10 forks source link

feat!: Implementing OS-specific download buttons #2581

Open plvzfq-rit opened 1 week ago

plvzfq-rit commented 1 week ago

๐Ÿ”— Linked issue

Partially fixes #2176

๐Ÿ“š Description

This pull request changes the download interface of the website. To detail, the old Download JabRef button is now changes based on the OS of the system (e.g., Windows, Mac, Linux). Windows should have buttons for .msi and .zip. For Linux, .deb, .rpm, and .tar.gz. For Mac (both arm64 and x86_64), .dmg and .pkg. Consequently, changes in the /download/[[os]] path was necessary to implement redirection (expansion from just ['win', 'mac', 'linux']

This pull request solves a user problem in which the web site automatically downloads a file which might not be apt for their package manager and or system architecture.

Original Implementation for Windows

image

New Implementation for Windows

image

New Implementation for Mac

image

New Implementation for Linux

image