feat(proton-bridge): enable auto-update, upgrade to 2.1.3

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
This commit is contained in:
Aditya Alok 2022-04-16 16:18:17 +05:30
parent 169273e3a1
commit 80e0b6b976
No known key found for this signature in database
GPG Key ID: 345AE134142077D8
2 changed files with 4 additions and 45 deletions

View File

@ -1,19 +1,14 @@
TERMUX_PKG_HOMEPAGE=https://github.com/ProtonMail/proton-bridge
TERMUX_PKG_DESCRIPTION="ProtonMail Bridge application"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=1.8.10
TERMUX_PKG_VERSION=2.1.3
TERMUX_PKG_SRCURL=https://github.com/ProtonMail/proton-bridge.git
TERMUX_PKG_GIT_BRANCH=br-$TERMUX_PKG_VERSION
TERMUX_PKG_MAINTAINER="Radomír Polách <rp@t4d.cz>"
TERMUX_PKG_DEPENDS=libsecret
# On 32bit arches we get:
# ../build/pkg/mod/github.com/!proton!mail/go-rfc5322@v0.8.0/parser/rfc5322_parser.go:2756: constant 4230534781 overflows int
# ../build/pkg/mod/github.com/!proton!mail/go-rfc5322@v0.8.0/parser/rfc5322_parser.go:2780: constant 4230534781 overflows int
# ../build/pkg/mod/github.com/!proton!mail/go-rfc5322@v0.8.0/parser/rfc5322_parser.go:6683: constant 2740715144 overflows int
# ../build/pkg/mod/github.com/!proton!mail/go-rfc5322@v0.8.0/parser/rfc5322_parser.go:6683: constant 4294967167 overflows int
# ../build/pkg/mod/github.com/!proton!mail/go-rfc5322@v0.8.0/parser/rfc5322_parser.go:11728: constant 4244674173 overflows int
# ../build/pkg/mod/github.com/!proton!mail/go-rfc5322@v0.8.0/parser/rfc5322_parser.go:12153: constant 4292870143 overflows int
TERMUX_PKG_AUTO_UPDATE=true
# The go-rfc5322 module cannot currently be compiled for 32-bit OSes:
# https://github.com/ProtonMail/proton-bridge/blob/v2.1.1/BUILDS.md#prerequisites
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
termux_step_make() {

View File

@ -1,36 +0,0 @@
diff --git a/internal/frontend/cli/frontend.go b/internal/frontend/cli/frontend.go
index 82c0dbc..c34d73a 100644
--- a/internal/frontend/cli/frontend.go
+++ b/internal/frontend/cli/frontend.go
@@ -241,21 +241,16 @@ func (f *frontendCLI) Loop(credentialsError error) error {
}
f.Print(`
- Welcome to ProtonMail Bridge interactive shell
- ___....___
- ^^ __..-:'':__:..:__:'':-..__
- _.-:__:.-:'': : : :'':-.:__:-._
- .':.-: : : : : : : : : :._:'.
- _ :.': : : : : : : : : : : :'.: _
- [ ]: : : : : : : : : : : : : :[ ]
- [ ]: : : : : : : : : : : : : :[ ]
- :::::::::[ ]:__:__:__:__:__:__:__:__:__:__:__:__:__:[ ]:::::::::::
- !!!!!!!!![ ]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![ ]!!!!!!!!!!!
- ^^^^^^^^^[ ]^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[ ]^^^^^^^^^^^
- [ ] [ ]
- [ ] [ ]
- jgs [ ] [ ]
- ~~^_~^~/ \~^-~^~ _~^-~_^~-^~_^~~-^~_~^~-~_~-^~_^/ \~^ ~~_ ^
+ Welcome to ProtonMail Bridge
+ interactive shell for Android
+
+ ^^
+ _ _
+___[ ]_____________________[ ]___
+!!![ ]!!!!!!!!!!!!!!!!!!!!![ ]!!!
+^^^[ ]^^^^^^^^^^^^^^^^^^^^^[ ]^^^
+jgs[ ] [ ]
+^~/ \^~~~~~~~~~~~~~~~~~^/ \~^
`)
f.Run()
return nil