Same root cause and fix as Guará: tauri-bundler's prepare_tools runs 'dd ... seek=8 conv=notrunc' on the cached linuxdeploy-x86_64 binary on the aarch64 Gitea runner. A bash wrapper script there loses its shebang to the dd and fails with ENOENT; a native ELF launcher survives because bytes 8-10 of the ELF header are unused EI_PAD padding. Replace the wrapper with a small ELF launcher compiled with cc, and cache AppRun-x86_64 explicitly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VAyr8d7HuAdUGB6aA5xmDD
7 lines
302 B
Bash
Executable File
7 lines
302 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Liga o hook de pre-push do repositório (roda scripts/verificar.sh antes de cada push).
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
git config core.hooksPath .githooks
|
|
echo "hook ligado: git push passa a rodar scripts/verificar.sh (desligue com: git config --unset core.hooksPath)"
|