UI: Only execute "What's New" code on win32

The "What's New" dialog currently is only functional on windows.
This commit is contained in:
jp9000 2019-05-01 12:12:03 -07:00
parent 767d534409
commit 7efcb6989d

View File

@ -1839,7 +1839,7 @@ void OBSBasic::OnFirstLoad()
if (api)
api->on_event(OBS_FRONTEND_EVENT_FINISHED_LOADING);
#ifdef BROWSER_AVAILABLE
#if defined(BROWSER_AVAILABLE) && defined(_WIN32)
/* Attempt to load init screen if available */
if (cef) {
WhatsNewInfoThread *wnit = new WhatsNewInfoThread();