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

Improve drawio binary finding functionality to use $PATH #71

Merged
merged 1 commit into from
Jun 5, 2022

Conversation

modelmat
Copy link
Owner

@modelmat modelmat commented May 10, 2022

Fixes #23, #24 and #66.

Prioritises config-option binary_path, then programs in $PATH,
then the hardcoded absolute paths. Also raises an error if
cannot find the executable as opposed to just attempting to run
draw.io as a Linux program anyway.

Fixes #23, #24, and $66.

Prioritises config-option binary_path, then programs in $PATH,
then the hardcoded absolute paths. Also raises an error if
cannot find the executable as opposed to just attempting to run
draw.io as a Linux program anyway.
@modelmat modelmat force-pushed the binary-path-improvements branch from f8e82e7 to c77be66 Compare May 10, 2022 02:25
@modelmat
Copy link
Owner Author

@benjamin-antupit @fcossio Could you test to confirm this works on mac?

@benjamin-antupit
Copy link

benjamin-antupit commented Jun 5, 2022

Looks all set to me (for MacOS at least). Thanks @modelmat!

@modelmat modelmat merged commit 11ec8e1 into master Jun 5, 2022
@modelmat modelmat deleted the binary-path-improvements branch June 5, 2022 07:11
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.

Use draw.io in $PATH instead of absolute location
2 participants