File tree Expand file tree Collapse file tree 11 files changed +17
-11
lines changed Expand file tree Collapse file tree 11 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ open class Module {
80
80
get { Store . shared. int ( key: " \( self . name) _position " , defaultValue: 0 ) }
81
81
set { Store . shared. set ( key: " \( self . name) _position " , value: newValue) }
82
82
}
83
- public var userDefaults : UserDefaults ? = UserDefaults ( suiteName: " eu.exelban.Stats.widgets " )
83
+ public var userDefaults : UserDefaults ? = UserDefaults ( suiteName: " \( Bundle . main . object ( forInfoDictionaryKey : " TeamId " ) as! String ) . eu.exelban.Stats.widgets" )
84
84
85
85
private var settingsView : Settings_v ? = nil
86
86
private var popup : PopupWindow ? = nil
Original file line number Diff line number Diff line change 20
20
<string >$(CURRENT_PROJECT_VERSION) </string >
21
21
<key >NSHumanReadableCopyright </key >
22
22
<string >Copyright © 2020 Serhiy Mytrovtsiy. All rights reserved. </string >
23
+ <key >TeamId </key >
24
+ <string >RP2S87B72W </string >
23
25
</dict >
24
26
</plist >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public struct CPU_entry: TimelineEntry {
28
28
public struct Provider : TimelineProvider {
29
29
public typealias Entry = CPU_entry
30
30
31
- private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " eu.exelban.Stats.widgets " )
31
+ private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " \( Bundle . main . object ( forInfoDictionaryKey : " TeamId " ) as! String ) . eu.exelban.Stats.widgets" )
32
32
33
33
public func placeholder( in context: Context ) -> CPU_entry {
34
34
CPU_entry ( )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public struct Disk_entry: TimelineEntry {
28
28
public struct Provider : TimelineProvider {
29
29
public typealias Entry = Disk_entry
30
30
31
- private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " eu.exelban.Stats.widgets " )
31
+ private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " \( Bundle . main . object ( forInfoDictionaryKey : " TeamId " ) as! String ) . eu.exelban.Stats.widgets" )
32
32
33
33
public func placeholder( in context: Context ) -> Disk_entry {
34
34
Disk_entry ( )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public struct GPU_entry: TimelineEntry {
28
28
public struct Provider : TimelineProvider {
29
29
public typealias Entry = GPU_entry
30
30
31
- private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " eu.exelban.Stats.widgets " )
31
+ private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " \( Bundle . main . object ( forInfoDictionaryKey : " TeamId " ) as! String ) . eu.exelban.Stats.widgets" )
32
32
33
33
public func placeholder( in context: Context ) -> GPU_entry {
34
34
GPU_entry ( )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public struct Network_entry: TimelineEntry {
28
28
public struct Provider : TimelineProvider {
29
29
public typealias Entry = Network_entry
30
30
31
- private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " eu.exelban.Stats.widgets " )
31
+ private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " \( Bundle . main . object ( forInfoDictionaryKey : " TeamId " ) as! String ) . eu.exelban.Stats.widgets" )
32
32
33
33
public func placeholder( in context: Context ) -> Network_entry {
34
34
Network_entry ( )
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public struct RAM_entry: TimelineEntry {
43
43
public struct Provider : TimelineProvider {
44
44
public typealias Entry = RAM_entry
45
45
46
- private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " eu.exelban.Stats.widgets " )
46
+ private let userDefaults : UserDefaults ? = UserDefaults ( suiteName: " \( Bundle . main . object ( forInfoDictionaryKey : " TeamId " ) as! String ) . eu.exelban.Stats.widgets" )
47
47
48
48
public func placeholder( in context: Context ) -> RAM_entry {
49
49
RAM_entry ( )
Original file line number Diff line number Diff line change 42
42
<key >SMPrivilegedExecutables </key >
43
43
<dict >
44
44
<key >eu.exelban.Stats.SMC.Helper </key >
45
- <string >anchor apple generic and identifier " eu.exelban.Stats.SMC.Helper" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = RP2S87B72W) </string >
45
+ <string >anchor apple generic and identifier " eu.exelban.Stats.SMC.Helper" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = RP2S87B72W) </string >
46
46
</dict >
47
+ <key >TeamId </key >
48
+ <string >RP2S87B72W </string >
47
49
</dict >
48
50
</plist >
Original file line number Diff line number Diff line change 2
2
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
3
<plist version =" 1.0" >
4
4
<dict >
5
+ <key >com.apple.security.cs.disable-library-validation</key >
6
+ <true />
5
7
<key >com.apple.security.application-groups</key >
6
8
<array >
7
- <string >eu.exelban.Stats.widgets</string >
9
+ <string >$(TeamIdentifierPrefix) eu.exelban.Stats.widgets</string >
8
10
</array >
9
- <key >com.apple.security.cs.disable-library-validation</key >
10
- <true />
11
11
</dict >
12
12
</plist >
Original file line number Diff line number Diff line change 21
21
</dict >
22
22
<key >NSHumanReadableCopyright </key >
23
23
<string >Copyright © 2024 Serhiy Mytrovtsiy. All rights reserved. </string >
24
+ <key >TeamId </key >
25
+ <string >RP2S87B72W </string >
24
26
</dict >
25
27
</plist >
Original file line number Diff line number Diff line change 6
6
<true />
7
7
<key >com.apple.security.application-groups</key >
8
8
<array >
9
- <string >eu.exelban.Stats.widgets</string >
9
+ <string >$(TeamIdentifierPrefix) eu.exelban.Stats.widgets</string >
10
10
</array >
11
11
</dict >
12
12
</plist >
You can’t perform that action at this time.
0 commit comments