Merge pull request #3703 from onesounds/250611-BlockReleaseNoteInDev

Skip release note notification for dev builds
This commit is contained in:
Jack Ye 2025-06-14 20:31:27 +08:00 committed by GitHub
commit 9367dfc180
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,12 +137,11 @@ namespace Flow.Launcher
welcomeWindow.Show();
}
if (_settings.ReleaseNotesVersion != Constant.Version)
if (Constant.Version != "1.0.0" && _settings.ReleaseNotesVersion != Constant.Version) // Skip release notes notification for developer builds (version 1.0.0)
{
// Update release notes version
_settings.ReleaseNotesVersion = Constant.Version;
// Display message box with button
// Show release note popup with button
App.API.ShowMsgWithButton(
string.Format(App.API.GetTranslation("appUpdateTitle"), Constant.Version),
App.API.GetTranslation("appUpdateButtonContent"),