add vaulteditor and fix build on arm (#114)

first working build for a long time
This commit is contained in:
simonfelding
2025-02-15 19:38:15 +01:00
committed by GitHub
parent a19458f703
commit d00645ffcc
2 changed files with 4 additions and 12 deletions

View File

@@ -9,15 +9,5 @@ git clone https://github.com/ProtonMail/proton-bridge.git
cd proton-bridge
git checkout v$VERSION
ARCH=$(uname -m)
if [[ $ARCH == "armv7l" ]] ; then
# This is expected to fail, and we use the following patch to fix
make build-nogui || true
# For 32bit architectures, there was a overflow error on the parser
# This is a workaround for this problem found at:
# https://github.com/antlr/antlr4/issues/2433#issuecomment-774514106
find $(go env GOPATH)/pkg/mod/github.com/\!proton\!mail/go-rfc5322*/ -type f -exec sed -i.bak 's/(1<</(int64(1)<</g' {} +
fi
# Build
make build-nogui
make build-nogui vault-editor