mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-19 05:51:16 -04:00
mac-virtualcam: Update NotInstalled error text for macOS 15
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
Plugin_Name="macOS Virtual Webcam"
|
||||
Error.SystemExtension.NotInstalled="The virtual camera is not installed.\n\nPlease allow OBS to install system software in System Settings → Privacy & Security → Security.\n\nYou may need to restart OBS if this message still appears afterward."
|
||||
Error.SystemExtension.NotInstalled.MacOS15="The virtual camera is not installed.\n\nPlease allow OBS to install the camera system extension in System Settings → General → Login Items & Extensions → Camera Extensions.\n\nYou may need to restart OBS if this message still appears afterward."
|
||||
Error.SystemExtension.CameraUnavailable="Could not find virtual camera.\n\nPlease try again."
|
||||
Error.SystemExtension.CameraNotStarted="Unable to start virtual camera.\n\nPlease try again."
|
||||
Error.SystemExtension.InstallationError="An error has occured while installing the virtual camera:"
|
||||
|
||||
@@ -306,7 +306,12 @@ static bool virtualcam_output_start(void *data)
|
||||
delegate.lastErrorMessage]
|
||||
.UTF8String);
|
||||
} else {
|
||||
obs_output_set_last_error(vcam->output, obs_module_text("Error.SystemExtension.NotInstalled"));
|
||||
if (@available(macOS 15.0, *)) {
|
||||
obs_output_set_last_error(vcam->output,
|
||||
obs_module_text("Error.SystemExtension.NotInstalled.MacOS15"));
|
||||
} else {
|
||||
obs_output_set_last_error(vcam->output, obs_module_text("Error.SystemExtension.NotInstalled"));
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user