Skip to content

Commit a9f742b

Browse files
bug fix
1 parent da961a0 commit a9f742b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IconChanger/IconManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class IconManager: ObservableObject {
109109

110110
try run()
111111

112-
// try copy.write(to: path, atomically: true, encoding: .utf8)
112+
try copy.write(to: path, atomically: true, encoding: .utf8)
113113
}
114114

115115
func setImage(_ image: NSImage, app: LaunchPadManagerDBHelper.AppInfo) throws {
@@ -185,7 +185,7 @@ class IconManager: ObservableObject {
185185

186186
func runHelperTool() throws {
187187
let helperToolURL = URL.documents.universalappending(path: "helper.sh")
188-
print(try Self.safeShell("sudo \(helperToolURL.universalPath())"))
188+
try Self.safeShell("sudo \(helperToolURL.universalPath())")
189189
}
190190

191191
@discardableResult

0 commit comments

Comments
 (0)