Skip to content
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

feat!: Implementing OS-specific download buttons #2581

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

plvzfq-rit
Copy link

@plvzfq-rit plvzfq-rit commented Nov 12, 2024

🔗 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

@plvzfq-rit plvzfq-rit marked this pull request as ready for review November 12, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The download link on Linux automatically downloads a Debian package, whether the user wants it or not
1 participant