From 8f59f09f6f74b2090c8306940bc13d3c80de2377 Mon Sep 17 00:00:00 2001 From: Tom Strba <57389842+tomasstrba@users.noreply.github.com> Date: Thu, 1 Aug 2024 22:04:08 +0200 Subject: [PATCH] xattr command removed from the restarting script to avoid the macOS notification (#3057) Task/Issue URL: https://app.asana.com/0/1201048563534612/1207945245157372/f **Description**: xattr command removed from the restarting script to avoid the macOS notification. --- DuckDuckGo/Updates/AppRestarter.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DuckDuckGo/Updates/AppRestarter.swift b/DuckDuckGo/Updates/AppRestarter.swift index fa498016f7..693ab5a75d 100644 --- a/DuckDuckGo/Updates/AppRestarter.swift +++ b/DuckDuckGo/Updates/AppRestarter.swift @@ -35,11 +35,10 @@ final class AppRestarter: AppRestarting { return } - let preOpenCmd = "/usr/bin/xattr -d -r com.apple.quarantine \(shellQuotedString(destinationPath))" let openCmd = "/usr/bin/open \(shellQuotedString(destinationPath))" let script = """ - (while /bin/kill -0 \(pid) >&/dev/null; do /bin/sleep 0.1; done; \(preOpenCmd); \(openCmd)) & + (while /bin/kill -0 \(pid) >&/dev/null; do /bin/sleep 0.1; done; \(openCmd)) & """ let task = Process()