We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da961a0 commit a9f742bCopy full SHA for a9f742b
IconChanger/IconManager.swift
@@ -109,7 +109,7 @@ class IconManager: ObservableObject {
109
110
try run()
111
112
-// try copy.write(to: path, atomically: true, encoding: .utf8)
+ try copy.write(to: path, atomically: true, encoding: .utf8)
113
}
114
115
func setImage(_ image: NSImage, app: LaunchPadManagerDBHelper.AppInfo) throws {
@@ -185,7 +185,7 @@ class IconManager: ObservableObject {
185
186
func runHelperTool() throws {
187
let helperToolURL = URL.documents.universalappending(path: "helper.sh")
188
- print(try Self.safeShell("sudo \(helperToolURL.universalPath())"))
+ try Self.safeShell("sudo \(helperToolURL.universalPath())")
189
190
191
@discardableResult
0 commit comments