Skip to content

Install script broken: wrong asset name + x64 binary crashes on Haswell #5

@edimuj

Description

@edimuj

Two issues with the install script

1. Asset name mismatch

The install script (https://touchgrass.sh/install.sh) constructs the download URL as:

https://github.com/tomtev/touchgrass/releases/download/${LATEST}/tg-${TARGET}

But the actual release assets are named touchgrass-linux-x64, touchgrass-darwin-arm64, etc. — not tg-linux-x64.

This causes the install to fail with "Failed to download binary for linux-x64."

2. x64 binary uses unsupported CPU instructions

After manually downloading the correctly-named touchgrass-linux-x64 binary, it crashes immediately:

Illegal instruction (core dumped)

This is on an Intel Core i7-4578U (Haswell, 2014). The binary likely requires AVX2 or newer instructions not available on this CPU generation.

Environment

  • Ubuntu Server on Mac Mini 2014 (Intel i7-4578U / Haswell)
  • Linux 6.8.0-94-generic
  • Version attempted: v0.1.122

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions