apps/web/src/routes/install.sh/README.md
This directory serves the GitButler CLI installation script at https://gitbutler.com/install.sh.
scripts/install.sh in the repository root$scripts alias (defined in svelte.config.js) to avoid brittle relative paths?raw suffix to import the script as a plain string at build timeUsers can install GitButler CLI with:
curl -sSL https://gitbutler.com/install.sh | bash
Located in install.test.ts, verifies:
$scripts aliasRun with:
cd apps/web
pnpm test
Located in tests/install-script.spec.ts, verifies:
/install.sh endpointRun with:
cd apps/web
pnpm test:e2e:web
The GitHub workflow .github/workflows/test-web.yml runs automatically when:
apps/web/**scripts/install.shWhen you modify scripts/install.sh:
/install.sh endpoint (via the $scripts alias)No additional steps needed - the alias ensures the path always resolves correctly.