Build: Do not warn for local builds

This commit is contained in:
JohnHolmesII 2020-03-27 12:11:16 -07:00 committed by Ivan
parent d6258fce54
commit 6712ac0a72
3 changed files with 7 additions and 6 deletions

View file

@ -93,7 +93,7 @@ void main_window::Init()
Q_EMIT RequestGlobalStylesheetChange(m_gui_settings->GetCurrentStylesheetPath());
ConfigureGuiFromSettings(true);
if (const std::string_view branch_name = rpcs3::get_full_branch(); branch_name != "RPCS3/rpcs3/master")
if (const std::string_view branch_name = rpcs3::get_full_branch(); branch_name != "RPCS3/rpcs3/master" && branch_name != "local_build")
{
gui_log.warning("Experimental Build Warning! Build origin: %s", branch_name);