mirror of
https://github.com/project-gauntlet/gauntlet.git
synced 2025-12-23 10:35:53 +00:00
Add log about macOS version used for indexing settings
This commit is contained in:
parent
f26baeaecb
commit
68f4aadc6a
1 changed files with 2 additions and 0 deletions
|
|
@ -102,6 +102,8 @@ fn get_settings(file_manager: &FileManager) -> Vec<DesktopEntry> {
|
|||
.parse()
|
||||
.expect("SystemVersion.plist ProductVersion major doesn't match expected format");
|
||||
|
||||
tracing::debug!("Indexing settings for macOS version: {}", major_version);
|
||||
|
||||
if major_version >= 13 { // Ventura and higher
|
||||
let sidebar: Vec<SidebarSection> = plist::from_file("/System/Applications/System Settings.app/Contents/Resources/Sidebar.plist")
|
||||
.expect("Sidebar.plist doesn't follow expected format");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue