diff --git a/README.md b/README.md index 7b77725..2757f13 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ ssh your-uw-netid@klone.hyak.uw.edu After you've connected to the login node, you can download and install `hyakvnc` by running the following command. Copy and paste it into the terminal window where you are connected to the login node and press enter: ```bash -eval "$(curl -fsSL https://raw.githubusercontent.com//maouw/hyakvnc/autoupdate/install.sh)" +eval "$(curl -fsSL https://raw.githubusercontent.com//maouw/hyakvnc/main/install.sh)" ``` This will download and install `hyakvnc` to your `~/.local/bin` directory and add it to your `$PATH` so you can run it by typing `hyakvnc` into the terminal window. diff --git a/install.sh b/install.sh index 206fe9a..e353c9e 100644 --- a/install.sh +++ b/install.sh @@ -37,7 +37,7 @@ _install_hyakvnc() { _HYAKVNC_DIR="${_HYAKVNC_DIR:-${HOME}/.hyakvnc}" # %% Local directory to store application data (default: `$HOME/.hyakvnc`) _HYAKVNC_REPO_DIR="${_HYAKVNC_REPO_DIR:-${_HYAKVNC_DIR}/hyakvnc}" # Local directory to store git repository (default: `$HYAKVNC_DIR/hyakvnc`) _HYAKVNC_REPO_URL="${_HYAKVNC_REPO_URL:-"https://github.com/maouw/hyakvnc"}" - _HYAKVNC_REPO_BRANCH="${_HYAKVNC_REPO_BRANCH:-"autoupdate"}" + _HYAKVNC_REPO_BRANCH="${_HYAKVNC_REPO_BRANCH:-"main"}" # shellcheck disable=SC2016 _UNEXPANDED_BIN_INSTALL_DIR='${HOME}/.local/bin' # Local directory to store executable (default: `$HOME/.local/bin`)