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

installer script: fix detection of macOS on newer QtIFW #2361

Merged
merged 1 commit into from
May 17, 2024

Conversation

cebtenzzre
Copy link
Member

I noticed that the offline installer for GPT4All v2.8.0-pre1 created GPT4All.desktop instead of the symlink in the applications folder.

According to the QtIFW docs, systemInfo is always "macos" on macOS, not "osx".

This PR updates the installer script to also recognize "macos". This bug has presumably existed since at least #2015, when QtIFW was updated in CI. I have no idea which version of QtIFW is used to make the online installers, so I am keeping the "osx" check for backwards compatibility.

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
@cebtenzzre cebtenzzre requested a review from manyoso May 17, 2024 16:23
@cebtenzzre cebtenzzre merged commit e021fe1 into main May 17, 2024
6 of 10 checks passed
@cebtenzzre cebtenzzre deleted the fix-macos-inst-symlink branch May 17, 2024 16: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.

None yet

2 participants