forked from Silverfish/proton-bridge
feat: add release notes to version file
This commit is contained in:
@ -119,8 +119,8 @@ func (f *FrontendQt) Loop() (err error) {
|
||||
|
||||
func (f *FrontendQt) NotifyManualUpdate(update updater.VersionInfo, canInstall bool) {
|
||||
f.Qml.SetUpdateVersion(update.Version.String())
|
||||
f.Qml.SetUpdateLandingPage(update.Landing)
|
||||
f.Qml.SetUpdateReleaseNotesLink("https://protonmail.com/download/ie/release_notes.html")
|
||||
f.Qml.SetUpdateLandingPage(update.LandingPage)
|
||||
f.Qml.SetUpdateReleaseNotesLink(update.ReleaseNotesPage)
|
||||
f.Qml.SetUpdateCanInstall(canInstall)
|
||||
f.updateInfo = update
|
||||
f.Qml.NotifyManualUpdate()
|
||||
|
||||
@ -180,8 +180,6 @@ func (s *GoQMLInterface) SetFrontend(f *FrontendQt) {
|
||||
s.SetProgramTitle(f.programName)
|
||||
|
||||
s.ConnectOpenLicenseFile(f.openLicenseFile)
|
||||
s.SetUpdateReleaseNotesLink("https://protonmail.com/download/ie/release_notes.html")
|
||||
|
||||
s.ConnectGetLocalVersionInfo(f.getLocalVersionInfo)
|
||||
s.ConnectCheckForUpdates(f.checkForUpdates)
|
||||
s.ConnectGetBackendVersion(func() string {
|
||||
|
||||
@ -164,8 +164,8 @@ func (s *FrontendQt) Loop() (err error) {
|
||||
|
||||
func (s *FrontendQt) NotifyManualUpdate(update updater.VersionInfo, canInstall bool) {
|
||||
s.Qml.SetUpdateVersion(update.Version.String())
|
||||
s.Qml.SetUpdateLandingPage(update.Landing)
|
||||
s.Qml.SetUpdateReleaseNotesLink("https://protonmail.com/download/bridge/release_notes.html")
|
||||
s.Qml.SetUpdateLandingPage(update.LandingPage)
|
||||
s.Qml.SetUpdateReleaseNotesLink(update.ReleaseNotesPage)
|
||||
s.Qml.SetUpdateCanInstall(canInstall)
|
||||
s.updateInfo = update
|
||||
s.Qml.NotifyManualUpdate()
|
||||
|
||||
Reference in New Issue
Block a user