diff --git a/README.md b/README.md index 85ecb49..b4eac72 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,11 @@ For any and all issues, don't hesitate to create a bug report or feature request To install the `dtools` script, run the following command: ```shell -git clone git@github.com:Dark-Alex-17/devtools.git ~/.local/share/devtools && pushd ~/.local/share/devtools && make install && popd +curl -fsSL https://raw.githubusercontent.com/Dark-Alex-17/dtools/refs/heads/main/scripts/install.sh | bash ``` -This will install the repo to `~/.local/share/devtools` and run the `make install` command to build and install the -script to your local bin directory (usually `~/.local/bin`). - -This will also install the tab completions to your `~./bashrc`, so be sure to `source ~/.bashrc` to enable the completions. +This will install `dtools` to `~/.local/bin/dtools`, and install the tab completions to your `~./bashrc`. So be sure to +`source ~/.bashrc` to enable the completions. Just run `dtools --help` to get started! diff --git a/scripts/install.sh b/scripts/install.sh index 84aa636..49bea04 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,6 +1,6 @@ #!/bin/bash if ! [[ -L "$HOME/.local/bin/dtools" ]]; then - sudo ln -s "$PWD/dtools" "$HOME/.local/bin/dtools" + wget -O "$HOME/.local/bin/dtools" "https://github.com/Dark-Alex-17/dtools/releases/latest/download/dtools" fi # shellcheck disable=SC2016