-
-
Couldn't load subscription status.
- Fork 5
Bash script changes #4
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
Conversation
|
thank you @george-cindea for the script improvements, I left some code notes, resolve them and it will be merged -- truly appreciate your support! |
|
@all-contributors please add @george-cindea for code |
|
We had trouble processing your request. Please try again later. |
scripts/get.sh
Outdated
| return 1 | ||
| fi | ||
| rm -f "$dir/$(basename "$temp_check")" | ||
| rm -f "$directory/$(basename "$temp_check")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dir is short and clear, don't see the need to use directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use path instead of dir
scripts/get.sh
Outdated
| APP_NAME=ssm | ||
| REPO="lfaoro/ssm" | ||
| LATEST_RELEASE_URL="https://github.com/${REPO}/releases/latest" | ||
| #Not used anywhere, if used externally, export it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if unused, remove it
scripts/get.sh
Outdated
| # Download and extract the archive | ||
| if [ "${OS}" = "windows" ]; then | ||
| if [[ "${OS}" =~ "windows" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can remove windows support, as win users use ssm via WSL2
we don't release ssm.exe since 0.2.1
|
test again |
|
All done. don't forget to squash commits at/before merge :) |
|
too late. i merged as is :)) |
|
@all-contributors please add @george-cindea for code |
|
We had trouble processing your request. Please try again later. |
In this PR: