Skip to content

Commit 6310eda

Browse files
committed
Fix the self update for macOS so that the installer is executed
1 parent d7d77d6 commit 6310eda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/MacOSPlatform/MacOS.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ public struct MacOS: Platform {
117117

118118
if ctx.mockedHomeDir == nil {
119119
await ctx.message("Extracting the swiftly package...")
120-
_ = sys.installer(
120+
try await sys.installer(
121121
.pkg(archive),
122122
.target("CurrentUserHomeDirectory")
123-
)
123+
).run(self)
124124
try? await sys.pkgutil(.volume(userHomeDir)).forget(pkg_id: "org.swift.swiftly").run(self)
125125
} else {
126126
let installDir = userHomeDir / ".swiftly"

0 commit comments

Comments
 (0)