diff --git a/.github/workflows/bundle.yml b/.github/workflows/bundle.yml index ee7516d..e6765d3 100644 --- a/.github/workflows/bundle.yml +++ b/.github/workflows/bundle.yml @@ -1,6 +1,6 @@ # Builds the single-file wizard (tools/bundle.sh) and publishes it as the # asset of the rolling "latest" release, for: -# bash <(curl -fsSL https://github.com/theupriser/cachyos-gamescope-boot/releases/download/latest/setup-gamescope-boot.sh) +# curl -fsSL https://github.com/theupriser/cachyos-gamescope-boot/releases/download/latest/setup-gamescope-boot.sh | bash # Pull requests only build and check it. name: Single-file build @@ -43,7 +43,7 @@ jobs: notes="Single-file build of $(git describe --always) ($(git log -1 --format=%cs)). Run it with: - bash <(curl -fsSL https://github.com/${{ github.repository }}/releases/download/latest/setup-gamescope-boot.sh)" + curl -fsSL https://github.com/${{ github.repository }}/releases/download/latest/setup-gamescope-boot.sh | bash" if gh release view latest >/dev/null 2>&1; then gh release edit latest --notes "$notes" else diff --git a/README.md b/README.md index aec4748..8cf50fa 100644 --- a/README.md +++ b/README.md @@ -38,12 +38,12 @@ Everything you turn off is put back the way it was. Open **Konsole** on your Plasma desktop and run: ```bash -bash <(curl -fsSL https://github.com/theupriser/cachyos-gamescope-boot/releases/download/latest/setup-gamescope-boot.sh) +curl -fsSL https://github.com/theupriser/cachyos-gamescope-boot/releases/download/latest/setup-gamescope-boot.sh | bash ``` -That downloads and runs the latest single-file version. `curl -fsSL ... | bash` -works too. Prefer to keep a copy, or to look at the script first? Clone the -repository instead: +That downloads and runs the latest single-file version, and works in any +shell, including fish (CachyOS's default). Prefer to keep a copy, or to look +at the script first? Clone the repository instead: ```bash git clone https://github.com/theupriser/cachyos-gamescope-boot.git