kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.37k stars 148 forks source link

Bash script to install from the terminal #413

Closed kennycallado closed 11 months ago

kennycallado commented 11 months ago

There are a couple of things to improve:

The script currently has the version hardcoded. Perhaps using the GitHub API could be a better approach.

It's important to ensure compatibility with all attached versions in releases. Currently, it is functioning for the following platforms:

I've included a function that allows for download verification. However, to use this function, it's necessary to generate the required file from automated-build.yml and then simply uncomment two lines.

For the README, here are the installation instructions (I'm unsure where to place them):

# Basic installation
bash <(curl -s https://raw.githubusercontent.com/kamiyaa/joshuto/master/utils/install.sh)

# Specific release installation
# Replace 'v0.9.5' with the desired release version
RELEASE_VER='v0.9.5' bash <(curl -s https://raw.githubusercontent.com/kamiyaa/joshuto/master/utils/install.sh)

kamiyaa commented 11 months ago

Wow, this is nice.

The script currently has the version hardcoded. Perhaps using the GitHub API could be a better approach.

Yeah, I can merge this now, and this can be worked on in the future when you have time :+1:

For the README, here are the installation instructions (I'm unsure where to place them):

You can add it below For single user with cargo Maybe specify it for users that want to use a pre-compiled binary

kennycallado commented 11 months ago

Ups! I didn't realize about this, sorry. I'll open a new one.