chore: Bridge Perth Narrows 3.0.16/17

This commit is contained in:
Jakub
2023-02-16 17:18:24 +01:00
parent f6727a56d2
commit 2faeebe9e7
3 changed files with 9 additions and 4 deletions

View File

@ -2,7 +2,12 @@
Changelog [format](http://keepachangelog.com/en/1.0.0/) Changelog [format](http://keepachangelog.com/en/1.0.0/)
## [Bridge 3.0.15/16] Perth Narrows ## [Bridge 3.0.16/17] Perth Narrows
### Fixed
* GODT-2354: Report failed load users.
## [Bridge 3.0.15] Perth Narrows
### Changed ### Changed
* GODT-2355: Improve wording and actions on bad event. * GODT-2355: Improve wording and actions on bad event.

View File

@ -11,7 +11,7 @@ ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
.PHONY: build build-gui build-nogui build-launcher versioner hasher .PHONY: build build-gui build-nogui build-launcher versioner hasher
# Keep version hardcoded so app build works also without Git repository. # Keep version hardcoded so app build works also without Git repository.
BRIDGE_APP_VERSION?=3.0.15+git BRIDGE_APP_VERSION?=3.0.16+git
APP_VERSION:=${BRIDGE_APP_VERSION} APP_VERSION:=${BRIDGE_APP_VERSION}
APP_FULL_NAME:=Proton Mail Bridge APP_FULL_NAME:=Proton Mail Bridge
APP_VENDOR:=Proton AG APP_VENDOR:=Proton AG

View File

@ -96,11 +96,11 @@ func (s *Service) GuiReady(ctx context.Context, _ *emptypb.Empty) (*GuiReadyResp
s.initializationDone.Do(s.initializing.Done) s.initializationDone.Do(s.initializing.Done)
// Splash screen should be displayed only to users who start v3.0.16 or later for the first time after upgrading from v2. // Splash screen should be displayed only to users who start v3.0.17 or later for the first time after upgrading from v2.
return &GuiReadyResponse{ return &GuiReadyResponse{
ShowSplashScreen: (!s.bridge.GetFirstStart()) && ShowSplashScreen: (!s.bridge.GetFirstStart()) &&
s.bridge.GetLastVersion().LessThan(semver.MustParse("3.0.0")) && s.bridge.GetLastVersion().LessThan(semver.MustParse("3.0.0")) &&
s.bridge.GetCurrentVersion().GreaterThan(semver.MustParse("3.0.15")), s.bridge.GetCurrentVersion().GreaterThan(semver.MustParse("3.0.16")),
}, nil }, nil
} }