Mac OS X: on access denied open "all files & folders" prefs instead of "full disk access"
This commit is contained in:
+1
-1
@@ -192,7 +192,7 @@ bool DownloadThread::_openAndPrepareDevice()
|
||||
} else if (authopenresult == _file.authOpenError) {
|
||||
QString msg = tr("Error running authopen to gain access to disk device '%1'").arg(QString(_filename));
|
||||
msg += "<br>"+tr("Please verify if 'Raspberry Pi Imager' is allowed access to 'removable volumes' in privacy settings (under 'files and folders' or alternatively give it 'full disk access').");
|
||||
QProcess::execute("open x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles");
|
||||
QProcess::execute("open x-apple.systempreferences:com.apple.preference.security?Privacy_RemovableVolume");
|
||||
emit error(msg);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user