mirror of
https://github.com/tw93/Mole.git
synced 2026-02-15 07:35:07 +00:00
Disable LaunchServices rebuild to prevent System Settings corruption
This commit is contained in:
@@ -17,9 +17,9 @@ flush_dns_cache() {
|
|||||||
|
|
||||||
# Rebuild databases and flush caches
|
# Rebuild databases and flush caches
|
||||||
opt_system_maintenance() {
|
opt_system_maintenance() {
|
||||||
echo -e "${BLUE}${ICON_ARROW}${NC} Rebuilding LaunchServices database..."
|
# DISABLED: Causes System Settings corruption - Issue #136
|
||||||
run_with_timeout 10 /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user > /dev/null 2>&1 || true
|
echo -e "${GRAY}⊘${NC} LaunchServices rebuild disabled"
|
||||||
echo -e "${GREEN}${ICON_SUCCESS}${NC} LaunchServices database rebuilt"
|
# run_with_timeout 10 /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user > /dev/null 2>&1 || true
|
||||||
|
|
||||||
echo -e "${BLUE}${ICON_ARROW}${NC} Clearing DNS cache..."
|
echo -e "${BLUE}${ICON_ARROW}${NC} Clearing DNS cache..."
|
||||||
if flush_dns_cache; then
|
if flush_dns_cache; then
|
||||||
|
|||||||
Reference in New Issue
Block a user