fix(macos): ignore if xattr already removed flag from Library

This commit is contained in:
Saibotk 2024-12-03 00:59:05 +01:00
parent 16b8337ff2
commit be5d117105
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -332,7 +332,7 @@ defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv"
# defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true # defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
# Show the ~/Library folder # Show the ~/Library folder
chflags nohidden ~/Library && xattr -d com.apple.FinderInfo ~/Library chflags nohidden ~/Library && xattr -d com.apple.FinderInfo ~/Library || true
# Show the /Volumes folder # Show the /Volumes folder
# sudo chflags nohidden /Volumes # sudo chflags nohidden /Volumes