Skip to content

Commit

Permalink
Fix double slash is path (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif authored Sep 27, 2024
1 parent 38469d4 commit 85d7841
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extension FileManager {

#if !os(Linux) && !os(Windows)
if #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) {
return "\(path.path())/App"
return path.appending(path: "App").path()
} else {
return "\(path.path)/App"
}
Expand Down

0 comments on commit 85d7841

Please sign in to comment.