mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-25 17:02:22 -04:00
UI: Add front-end auto-updater
This commit is contained in:
@@ -363,6 +363,8 @@ bool OBSApp::InitGlobalConfigDefaults()
|
||||
config_set_default_uint(globalConfig, "General", "MaxLogs", 10);
|
||||
config_set_default_string(globalConfig, "General", "ProcessPriority",
|
||||
"Normal");
|
||||
config_set_default_bool(globalConfig, "General", "EnableAutoUpdates",
|
||||
true);
|
||||
|
||||
#if _WIN32
|
||||
config_set_default_string(globalConfig, "Video", "Renderer",
|
||||
@@ -448,7 +450,13 @@ static bool MakeUserDirs()
|
||||
return false;
|
||||
if (!do_mkdir(path))
|
||||
return false;
|
||||
|
||||
if (GetConfigPath(path, sizeof(path), "obs-studio/updates") <= 0)
|
||||
return false;
|
||||
if (!do_mkdir(path))
|
||||
return false;
|
||||
#endif
|
||||
|
||||
if (GetConfigPath(path, sizeof(path), "obs-studio/plugin_config") <= 0)
|
||||
return false;
|
||||
if (!do_mkdir(path))
|
||||
|
||||
Reference in New Issue
Block a user