fix: shell.openPath should be non-blocking (#48089)

fix: shell.openPath should be non-blocking

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot] 2025-08-17 20:19:09 +02:00 committed by GitHub
commit a6b0d27bb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -342,7 +342,7 @@ void ShowItemInFolder(const base::FilePath& full_path) {
void OpenPath(const base::FilePath& full_path, OpenCallback callback) {
// This is async, so we don't care about the return value.
XDGOpen(full_path.DirName(), full_path.value(), true, std::move(callback));
XDGOpen(full_path.DirName(), full_path.value(), false, std::move(callback));
}
void OpenFolder(const base::FilePath& full_path) {