From 7abf01b82812e2fbfa609ee47a414af1ea967278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Tue, 13 Jan 2026 18:19:01 +0800 Subject: [PATCH] Fix iCloud profile export crash --- Library/Database/Profile+Transferable.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Database/Profile+Transferable.swift b/Library/Database/Profile+Transferable.swift index 1569a4a..0bc8b4c 100644 --- a/Library/Database/Profile+Transferable.swift +++ b/Library/Database/Profile+Transferable.swift @@ -9,7 +9,7 @@ public extension Profile { content.name = name content.type = Int32(type.rawValue) content.config = try read() - if type != .local { + if type == .remote { content.remotePath = remoteURL! } if type == .remote {