Skip to content

Auto choose download package on website based on user OS. #7772

Open
@mrtechtroid

Description

@mrtechtroid

Hi, I was just checking out GitButler for the first time. I downloaded it assuming it would be set for Windows, but saw it downloaded the dmg. I noticed that by default Apple is selected for the download button.

Instead it would be great if it was changed such that if the default OS being chosen is based on the Client visiting the website. (By default people tend to assume, that the website would give the OS appropriate version for the default download)

Thanks!

(I think the tag would be @gitbutler/website?)

Activity

wleklinskimateusz

wleklinskimateusz commented on Mar 22, 2025

@wleklinskimateusz

I'm also new to GitButler, and thought about the same thing, if you're open to external contributors, I can make a PR for this issue

Byron

Byron commented on Mar 23, 2025

@Byron
Collaborator

Thanks for reporting, and setting the default to what's appropriate for the OS seems very reasonable.

Whenever there is multiple options for the platform, I wonder if it's possible to make a decision based on what likely will be the user-agent string. For instance, is it possible to tell Apple Silicon apart from Intel?
Also, on Linux, there is a presumably impossible choice between different kinds of packages.

In any case, differentiating broadly already seems like an improvement.

@wleklinskimateusz A PR would definitely be welcome, thanks for offering.

wleklinskimateusz

wleklinskimateusz commented on Mar 23, 2025

@wleklinskimateusz

regarding the Intel vs Apple Silicon it seems to be possible but the support for this may be limited to newer browsers, I'll check it out and try to test on various platforms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @Byron@wleklinskimateusz@mrtechtroid

      Issue actions

        Auto choose download package on website based on user OS. · Issue #7772 · gitbutlerapp/gitbutler