From 305419d38086b3f6b3247c2c10793b33e6ce4776 Mon Sep 17 00:00:00 2001 From: jellyfin-bot Date: Thu, 17 Oct 2024 16:18:03 +0000 Subject: [PATCH] Update API docs --- docs/api/source_Main.bs.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/api/source_Main.bs.html b/docs/api/source_Main.bs.html index 262592af7..906dbc59b 100644 --- a/docs/api/source_Main.bs.html +++ b/docs/api/source_Main.bs.html @@ -74,15 +74,18 @@ end if end if - ' has the current user ran this version before? - usersLastRunVersion = m.global.session.user.settings.lastRunVersion - if not isValid(usersLastRunVersion) or not versionChecker(m.global.session.user.settings.lastRunVersion, m.global.app.version) - set_user_setting("LastRunVersion", m.global.app.version) - ' show what's new popup - if m.global.session.user.settings["load.allowwhatsnew"] - dialog = createObject("roSGNode", "WhatsNewDialog") - m.scene.dialog = dialog - m.scene.dialog.observeField("buttonSelected", m.port) + ' only show whats new popup and update lastRunVersion on prod + if not m.global.app.isDev + ' has the current user ran this version before? + usersLastRunVersion = m.global.session.user.settings.lastRunVersion + if not isValid(usersLastRunVersion) or not versionChecker(usersLastRunVersion, m.global.app.version) + set_user_setting("LastRunVersion", m.global.app.version) + ' show what's new popup + if m.global.session.user.settings["load.allowwhatsnew"] + dialog = createObject("roSGNode", "WhatsNewDialog") + m.scene.dialog = dialog + m.scene.dialog.observeField("buttonSelected", m.port) + end if end if end if