fix(linux/xdgportal): allow unified systemd service for all capture methods (#4854)
This commit is contained in:
@@ -1684,17 +1684,6 @@ namespace platf {
|
||||
#if defined(SUNSHINE_BUILD_FLATPAK) || defined(SUNSHINE_BUILD_APPIMAGE)
|
||||
BOOST_LOG((config::video.capture == "kms") ? fatal : error)
|
||||
<< "AppImage and Flatpak do not support KMS capture. Use another capture method."sv;
|
||||
#else
|
||||
{
|
||||
const std::string kms_msg =
|
||||
"You must use the 'sunshine' service instead of the 'app-" +
|
||||
std::string(PROJECT_FQDN) +
|
||||
"' service for KMS capture.\n"
|
||||
"Please refer to the official documentation:\n"
|
||||
" stable: https://docs.lizardbyte.dev/projects/sunshine/latest/md_docs_2getting__started.html#linux-1\n"
|
||||
" beta: https://docs.lizardbyte.dev/projects/sunshine/master/md_docs_2getting__started.html#linux-1";
|
||||
BOOST_LOG((config::video.capture == "kms") ? fatal : error) << kms_msg;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user