mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-19 09:45:46 -04:00
Fix Full Disk Access check
This commit is contained in:
parent
b5d2e31e96
commit
e9fd130115
1 changed files with 7 additions and 5 deletions
|
@ -135,12 +135,14 @@ struct ListRow: View {
|
|||
return
|
||||
}
|
||||
|
||||
guard type == .installer,
|
||||
FileManager.default.isReadableFile(atPath: .tccDatabasePath) else {
|
||||
if type == .installer {
|
||||
|
||||
guard FileManager.default.isReadableFile(atPath: .tccDatabasePath) else {
|
||||
alertType = .fullDiskAccess
|
||||
showAlert = true
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
if cacheDownloads {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue