mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
UI: Remove InitApplicationBundle() function
This commit is contained in:
parent
7dcd22dc95
commit
dde2fe209a
@ -1281,8 +1281,6 @@ void OBSApp::AppInit()
|
||||
{
|
||||
ProfileScope("OBSApp::AppInit");
|
||||
|
||||
if (!InitApplicationBundle())
|
||||
throw "Failed to initialize application bundle";
|
||||
if (!MakeUserDirs())
|
||||
throw "Failed to create required user directories";
|
||||
if (!InitGlobalConfig())
|
||||
|
@ -48,12 +48,6 @@ bool GetDataFilePath(const char *data, string &output)
|
||||
return !access(output.c_str(), R_OK);
|
||||
}
|
||||
|
||||
#pragma deprecated(InitApplicationBundle)
|
||||
bool InitApplicationBundle()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void CheckIfAlreadyRunning(bool &already_running)
|
||||
{
|
||||
try {
|
||||
|
@ -59,11 +59,6 @@ bool GetDataFilePath(const char *data, string &output)
|
||||
return check_path(data, OBS_DATA_PATH "/obs-studio/", output);
|
||||
}
|
||||
|
||||
bool InitApplicationBundle()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
string GetDefaultVideoSavePath()
|
||||
{
|
||||
wchar_t path_utf16[MAX_PATH];
|
||||
|
@ -201,11 +201,6 @@ bool GetDataFilePath(const char *data, string &output)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool InitApplicationBundle()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
string GetDefaultVideoSavePath()
|
||||
{
|
||||
return string(getenv("HOME"));
|
||||
|
@ -27,9 +27,6 @@ class QWidget;
|
||||
/* Gets the path of obs-studio specific data files (such as locale) */
|
||||
bool GetDataFilePath(const char *data, std::string &path);
|
||||
|
||||
/* Updates the working directory for OSX application bundles */
|
||||
bool OBS_DEPRECATED InitApplicationBundle();
|
||||
|
||||
std::string GetDefaultVideoSavePath();
|
||||
|
||||
std::vector<std::string> GetPreferredLocales();
|
||||
|
Loading…
Reference in New Issue
Block a user