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

fix(install): fix running on windows host #43

Merged
merged 1 commit into from
Dec 4, 2024
Merged

fix(install): fix running on windows host #43

merged 1 commit into from
Dec 4, 2024

Conversation

kodx
Copy link
Contributor

@kodx kodx commented Dec 2, 2024

What's changed.

.exe extension for Windows host has been added for binary files.

install.sh

set -euo pipefail

Added -e flag to exit the script if return code of one of the commands is different from 0.
For example if curl command with --fail option will fail, script will continue to execute without this flag.

A choice of extension and unpacker (.zip and 7z for Windows) was added to the host system detection part.

run.sh

Fixed stylistic errors, install.sh used 4 tabs for indentation, while run.sh used only 2.

Note

Please merge the last two commits because they fix the same problem.

Copy link
Owner

@orhun orhun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@orhun orhun merged commit 4a4a951 into orhun:main Dec 4, 2024
1 check passed
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