Merge branch 'beta'

This commit is contained in:
Ali 2021-06-29 22:20:06 +04:00
commit e3b05e2b99
2 changed files with 16 additions and 14 deletions

View File

@ -189,6 +189,7 @@ public func rootPathForBasePath(_ appGroupPath: String) -> String {
} }
public func performAppGroupUpgrades(appGroupPath: String, rootPath: String) { public func performAppGroupUpgrades(appGroupPath: String, rootPath: String) {
DispatchQueue.global(qos: .default).async {
let _ = try? FileManager.default.createDirectory(at: URL(fileURLWithPath: rootPath), withIntermediateDirectories: true, attributes: nil) let _ = try? FileManager.default.createDirectory(at: URL(fileURLWithPath: rootPath), withIntermediateDirectories: true, attributes: nil)
if let items = FileManager.default.enumerator(at: URL(fileURLWithPath: appGroupPath), includingPropertiesForKeys: [.isDirectoryKey], options: [.skipsHiddenFiles, .skipsSubdirectoryDescendants], errorHandler: nil) { if let items = FileManager.default.enumerator(at: URL(fileURLWithPath: appGroupPath), includingPropertiesForKeys: [.isDirectoryKey], options: [.skipsHiddenFiles, .skipsSubdirectoryDescendants], errorHandler: nil) {
@ -208,6 +209,7 @@ public func performAppGroupUpgrades(appGroupPath: String, rootPath: String) {
} }
} }
} }
}
do { do {
var resourceValues = URLResourceValues() var resourceValues = URLResourceValues()

View File

@ -1,5 +1,5 @@
{ {
"app": "7.8.1", "app": "7.9",
"bazel": "4.0.0", "bazel": "4.0.0",
"xcode": "12.4" "xcode": "12.4"
} }