File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
project.xcworkspace/xcuserdata/kc.xcuserdatad Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 344344 ENABLE_HARDENED_RUNTIME = YES;
345345 INFOPLIST_FILE = "$(SRCROOT)/dockutil/Info.plist";
346346 MACOSX_DEPLOYMENT_TARGET = 10.15;
347- MARKETING_VERSION = " 3.0.0-beta.3" ;
347+ MARKETING_VERSION = 3.0.0;
348348 PRODUCT_BUNDLE_IDENTIFIER = dockutil.cli.tool;
349349 PRODUCT_NAME = "$(TARGET_NAME)";
350350 SWIFT_VERSION = 5.0;
361361 ENABLE_HARDENED_RUNTIME = YES;
362362 INFOPLIST_FILE = "$(SRCROOT)/dockutil/Info.plist";
363363 MACOSX_DEPLOYMENT_TARGET = 10.15;
364- MARKETING_VERSION = " 3.0.0-beta.3" ;
364+ MARKETING_VERSION = 3.0.0;
365365 PRODUCT_BUNDLE_IDENTIFIER = dockutil.cli.tool;
366366 PRODUCT_NAME = "$(TARGET_NAME)";
367367 PROVISIONING_PROFILE_SPECIFIER = "";
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ class Dock {
134134 stdInPipe. fileHandleForWriting. write ( plistData)
135135 stdInPipe. fileHandleForWriting. closeFile ( )
136136 p. waitUntilExit ( )
137- print ( p. terminationStatus)
137+ gv > 0 ? print ( p. terminationStatus) : nil
138138 } else {
139139 let p = Process ( )
140140 p. executableURL = URL ( fileURLWithPath: " /usr/bin/defaults " )
@@ -145,7 +145,7 @@ class Dock {
145145 stdInPipe. fileHandleForWriting. write ( plistData)
146146 stdInPipe. fileHandleForWriting. closeFile ( )
147147 p. waitUntilExit ( )
148- print ( p. terminationStatus)
148+ gv > 0 ? print ( p. terminationStatus) : nil
149149 try ? FileManager . default. setAttributes ( [ . ownerAccountID: originalOwnerID] , ofItemAtPath: self . path) // chown to original owner
150150 }
151151
You can’t perform that action at this time.
0 commit comments