This commit is contained in:
Alin
2024-06-24 11:37:48 -06:00
parent 3232c81e80
commit 4da74556de
11 changed files with 131 additions and 19 deletions
+8
View File
@@ -137,6 +137,14 @@ struct AppListItems: View {
appState.sortedApps[index].bundleSize = size
}
}
let architecture = checkAppBundleArchitecture(at: appInfo.path.path)
updateOnMain {
// Optionally, update the appInfo in the appState array
if let index = appState.sortedApps.firstIndex(where: { $0.path == appInfo.path }) {
appState.sortedApps[index].arch = architecture
}
}
}
}