Skip to content

Commit

Permalink
fix: issue set
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Jun 25, 2022
1 parent d325ec9 commit 6d7b01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Plugin/CapacitorUpdater.swift
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ extension CustomError: LocalizedError {
}

public func getBundleDirectory(folder: String) -> URL {
return URL(string: "\(self.documentsDir)\(self.bundleDirectory)/\(folder)")!
return libraryDir.appendingPathComponent(self.bundleDirectory).appendingPathComponent(folder)
}

public func set(version: VersionInfo) -> Bool {
Expand Down

0 comments on commit 6d7b01c

Please sign in to comment.