Skip to content

Commit

Permalink
Release as 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kcrawford committed Mar 3, 2022
1 parent 904f65a commit 2cf05bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dockutil.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "$(SRCROOT)/dockutil/Info.plist";
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = "3.0.0-beta.3";
MARKETING_VERSION = 3.0.0;
PRODUCT_BUNDLE_IDENTIFIER = dockutil.cli.tool;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -361,7 +361,7 @@
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "$(SRCROOT)/dockutil/Info.plist";
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = "3.0.0-beta.3";
MARKETING_VERSION = 3.0.0;
PRODUCT_BUNDLE_IDENTIFIER = dockutil.cli.tool;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions dockutil/Dock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class Dock {
stdInPipe.fileHandleForWriting.write(plistData)
stdInPipe.fileHandleForWriting.closeFile()
p.waitUntilExit()
print(p.terminationStatus)
gv > 0 ? print(p.terminationStatus):nil
} else {
let p = Process()
p.executableURL = URL(fileURLWithPath: "/usr/bin/defaults")
Expand All @@ -145,7 +145,7 @@ class Dock {
stdInPipe.fileHandleForWriting.write(plistData)
stdInPipe.fileHandleForWriting.closeFile()
p.waitUntilExit()
print(p.terminationStatus)
gv > 0 ? print(p.terminationStatus):nil
try? FileManager.default.setAttributes([.ownerAccountID: originalOwnerID], ofItemAtPath: self.path) // chown to original owner
}

Expand Down

0 comments on commit 2cf05bd

Please sign in to comment.