Fix import profile

This commit is contained in:
世界
2023-09-22 12:23:49 +08:00
parent 5e98d2cbe1
commit c960401961
2 changed files with 3 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ suspend fun Context.shareProfile(profile: Profile) {
content.config = File(profile.typed.path).readText()
content.remotePath = profile.typed.remoteURL
content.autoUpdate = profile.typed.autoUpdate
content.autoUpdateInterval = profile.typed.autoUpdateInterval
content.lastUpdated = profile.typed.lastUpdated.time
val configDirectory = File(cacheDir, "share").also { it.mkdirs() }