Fix profile upate task

This commit is contained in:
世界
2023-09-22 18:00:19 +08:00
parent 3374f8e727
commit 58bc9baa05
5 changed files with 33 additions and 21 deletions
+2 -2
View File
@@ -9,12 +9,12 @@ class ApplicationDelegate: NSObject, UIApplicationDelegate {
NSLog("Here I stand")
LibboxSetup(FilePath.sharedDirectory.relativePath, FilePath.workingDirectory.relativePath, FilePath.cacheDirectory.relativePath, true)
Task {
await setupBackground()
await setup()
}
return true
}
private nonisolated func setupBackground() async {
private func setup() async {
do {
try await UIProfileUpdateTask.configure()
NSLog("setup background task success")