diff --git a/debian/patches/0006-Do-not-display-license-on-first-startup.patch b/debian/patches/0006-Do-not-display-license-on-first-startup.patch new file mode 100644 index 0000000..338ddee --- /dev/null +++ b/debian/patches/0006-Do-not-display-license-on-first-startup.patch @@ -0,0 +1,22 @@ +From: Chris Lamb +Date: Mon, 19 Feb 2018 21:32:07 +0100 +Subject: Do not display license on first startup + +--- + UI/obs-app.cpp | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp +index d5fc09a..ad7563a 100644 +--- a/UI/obs-app.cpp ++++ b/UI/obs-app.cpp +@@ -945,8 +945,7 @@ bool OBSApp::OBSInit() + { + ProfileScope("OBSApp::OBSInit"); + +- bool licenseAccepted = config_get_bool(globalConfig, "General", +- "LicenseAccepted"); ++ bool licenseAccepted = true; + OBSLicenseAgreement agreement(nullptr); + + if (licenseAccepted || agreement.exec() == QDialog::Accepted) { diff --git a/debian/patches/series b/debian/patches/series index bf8556e..1c81bde 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ 0003-Use-path-in-usr-lib.patch 0004-Link-with-libm-and-libdl-to-fix-underlinking.patch 0005-Link-with-xcb-and-X-libraries-to-fix-underlinking.patch +0006-Do-not-display-license-on-first-startup.patch