From d9ac3cd504b8dd110f22d82e8893e86fd7b501ea Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Fri, 21 Feb 2025 16:04:03 +0100 Subject: [PATCH] fix: save the last timestamp when the support window showed that prevents it from showing that every time the app is open (#2404) --- Stats/Supporting Files/Info.plist | 2 +- Stats/helpers.swift | 1 + Widgets/Supporting Files/Info.plist | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Stats/Supporting Files/Info.plist b/Stats/Supporting Files/Info.plist index c03b5d37..9d1f5ca6 100755 --- a/Stats/Supporting Files/Info.plist +++ b/Stats/Supporting Files/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion - 674 + 676 Description Simple macOS system monitor in your menu bar LSApplicationCategoryType diff --git a/Stats/helpers.swift b/Stats/helpers.swift index df922d33..70c97e49 100644 --- a/Stats/helpers.swift +++ b/Stats/helpers.swift @@ -219,6 +219,7 @@ extension AppDelegate { return } + Store.shared.set(key: "support_ts", value: now) self.supportWindow.show() } diff --git a/Widgets/Supporting Files/Info.plist b/Widgets/Supporting Files/Info.plist index 79ba41b5..fac561e6 100644 --- a/Widgets/Supporting Files/Info.plist +++ b/Widgets/Supporting Files/Info.plist @@ -13,7 +13,7 @@ CFBundleShortVersionString 2.11.31 CFBundleVersion - 674 + 676 NSExtension NSExtensionPointIdentifier