1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

Show popup message with breaking changes on startup

This commit is contained in:
Stefan Haller
2024-03-10 20:59:11 +01:00
parent d12ceeb1ec
commit 2f4437591e
6 changed files with 226 additions and 0 deletions

View File

@@ -254,9 +254,14 @@ func (gui *Gui) onInitialViewsCreation() error {
storedPopupVersion := gui.c.GetAppState().StartupPopupVersion
if storedPopupVersion < StartupPopupVersion {
gui.showIntroPopupMessage()
} else {
gui.showBreakingChangesMessage()
}
}
gui.c.GetAppState().LastVersion = gui.Config.GetVersion()
gui.c.SaveAppStateAndLogError()
if gui.showRecentRepos {
if err := gui.helpers.Repos.CreateRecentReposMenu(); err != nil {
return err