File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 190
190
</textField >
191
191
<button translatesAutoresizingMaskIntoConstraints =" NO" id =" tGd-pe-2xJ" >
192
192
<rect key =" frame" x =" 240" y =" 108" width =" 222" height =" 18" />
193
- <buttonCell key =" cell" type =" check" title =" Enable Udp Replay " bezelStyle =" regularSquare" imagePosition =" left" state =" on" inset =" 2" id =" R3v-iN-zu8" >
193
+ <buttonCell key =" cell" type =" check" title =" Enable UDP Relay " bezelStyle =" regularSquare" imagePosition =" left" state =" on" inset =" 2" id =" R3v-iN-zu8" >
194
194
<behavior key =" behavior" changeContents =" YES" doesNotDimImage =" YES" lightByContents =" YES" />
195
195
<font key =" font" metaFont =" system" />
196
196
</buttonCell >
Original file line number Diff line number Diff line change 17
17
<key >CFBundlePackageType </key >
18
18
<string >APPL </string >
19
19
<key >CFBundleShortVersionString </key >
20
- <string >1.5.0 </string >
20
+ <string >1.5.1 </string >
21
21
<key >CFBundleSignature </key >
22
22
<string >???? </string >
23
23
<key >CFBundleURLTypes </key >
36
36
</dict >
37
37
</array >
38
38
<key >CFBundleVersion </key >
39
- <string >5 </string >
39
+ <string >1 </string >
40
40
<key >LSApplicationCategoryType </key >
41
41
<string >public.app-category.utilities </string >
42
42
<key >LSMinimumSystemVersion </key >
Original file line number Diff line number Diff line change @@ -151,7 +151,9 @@ func SyncSSLocal() {
151
151
changed = changed || generateSSLocalLauchAgentPlist ( )
152
152
let mgr = ServerProfileManager . instance
153
153
if mgr. activeProfileId != nil {
154
- changed = changed || writeSSLocalConfFile ( ( mgr. getActiveProfile ( ) ? . toJsonConfig ( ) ) !)
154
+ if let profile = mgr. getActiveProfile ( ) {
155
+ changed = changed || writeSSLocalConfFile ( ( profile. toJsonConfig ( ) ) )
156
+ }
155
157
156
158
let on = UserDefaults . standard. bool ( forKey: " ShadowsocksOn " )
157
159
if on {
You can’t perform that action at this time.
0 commit comments