mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: changed App Group name to fit the requirements. It fixes widgets in macOS 15 but could break macOS 14. Since in the macOS 14 it was not working properly with the team ID prefix (#2115)
This commit is contained in:
@@ -28,7 +28,7 @@ public struct CPU_entry: TimelineEntry {
|
||||
public struct Provider: TimelineProvider {
|
||||
public typealias Entry = CPU_entry
|
||||
|
||||
private let userDefaults: UserDefaults? = UserDefaults(suiteName: "eu.exelban.Stats.widgets")
|
||||
private let userDefaults: UserDefaults? = UserDefaults(suiteName: "\(Bundle.main.object(forInfoDictionaryKey: "TeamId") as! String).eu.exelban.Stats.widgets")
|
||||
|
||||
public func placeholder(in context: Context) -> CPU_entry {
|
||||
CPU_entry()
|
||||
|
||||
Reference in New Issue
Block a user