Ver código fonte

UI: Guard AutoBetaOptIn as Windows-only

tytan652 2 anos atrás
pai
commit
bc51e15553
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      UI/window-basic-main.cpp

+ 1 - 1
UI/window-basic-main.cpp

@@ -2026,7 +2026,7 @@ void OBSBasic::OBSInit()
 		QMetaObject::invokeMethod(this, "on_autoConfigure_triggered",
 					  Qt::QueuedConnection);
 
-#if OBS_RELEASE_CANDIDATE > 0 || OBS_BETA > 0
+#if defined(_WIN32) && (OBS_RELEASE_CANDIDATE > 0 || OBS_BETA > 0)
 	/* Automatically set branch to "beta" the first time a pre-release build is run. */
 	if (!config_get_bool(App()->GlobalConfig(), "General",
 			     "AutoBetaOptIn")) {