diff --git a/config.def.h b/config.def.h index a8f4049b64..d54a19c273 100644 --- a/config.def.h +++ b/config.def.h @@ -203,7 +203,13 @@ /* Fullscreen */ /* To start in Fullscreen, or not. */ + +#ifdef HAVE_STEAM +/* Start in fullscreen mode for Steam build */ +#define DEFAULT_FULLSCREEN true +#else #define DEFAULT_FULLSCREEN false +#endif /* To use windowed mode or not when going fullscreen. */ #define DEFAULT_WINDOWED_FULLSCREEN true diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 76b7864b64..51b70ea12a 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -524,6 +524,11 @@ if [ "$HAVE_MENU" != 'no' ]; then fi fi +if [ "$HAVE_STEAM" = 'yes' ]; then + add_opt ONLINE_UPDATER no + die : 'Notice: Steam build enabled, disabling online updater as well.' +fi + check_enabled CXX SLANG slang 'The C++ compiler is' false check_enabled CXX GLSLANG glslang 'The C++ compiler is' false check_enabled CXX SPIRV_CROSS SPIRV-Cross 'The C++ compiler is' false diff --git a/qb/config.params.sh b/qb/config.params.sh index 59a14c2716..d93e855302 100644 --- a/qb/config.params.sh +++ b/qb/config.params.sh @@ -164,3 +164,4 @@ C89_SPIRV_CROSS=no HAVE_METAL=no # Metal support (macOS-only) C89_METAL=no HAVE_NETWORK_VIDEO=no +HAVE_STEAM=no # Enable Steam build