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

detect macOS Scilab application bundle #54

Merged
merged 3 commits into from
Jul 10, 2024

Conversation

mottelet
Copy link
Contributor

The detection is made by using the mdfind command, as the Scilab bundle id is well defined:

mdfind -onlyin /Applications kMDItemCFBundleIdentifier=org.scilab.modules.jvm.Scilab

When different versions are present in /Applications/ the more recent one is on the first line, e.g.

/Applications/scilab-2024.1.0.app
/Applications/scilab-2024.0.0.app

Proposed implementation always take the more recent version.

mottelet added 3 commits June 18, 2024 16:06
mention macOS retrieval of Scilab binary in Spotlight databse
@vincentcouvert vincentcouvert merged commit 4dafa27 into Calysto:master Jul 10, 2024
1 check failed
vincentcouvert added a commit that referenced this pull request Jul 10, 2024
Fix ruff detected issue in #54: F811 Redefinition of unused banner from line 40
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.

2 participants