Fix iCloud profile export crash

This commit is contained in:
世界
2026-01-13 18:19:01 +08:00
parent 42d1107c53
commit 7abf01b828
+1 -1
View File
@@ -9,7 +9,7 @@ public extension Profile {
content.name = name content.name = name
content.type = Int32(type.rawValue) content.type = Int32(type.rawValue)
content.config = try read() content.config = try read()
if type != .local { if type == .remote {
content.remotePath = remoteURL! content.remotePath = remoteURL!
} }
if type == .remote { if type == .remote {