|
|
@@ -858,6 +858,9 @@ bool OBSApp::OBSInit()
|
|
|
if (!StartupOBS(locale.c_str(), GetProfilerNameStore()))
|
|
|
return false;
|
|
|
|
|
|
+ blog(LOG_INFO, "Portable mode: %s",
|
|
|
+ portable_mode ? "true" : "false");
|
|
|
+
|
|
|
mainWindow = new OBSBasic();
|
|
|
|
|
|
mainWindow->setAttribute(Qt::WA_DeleteOnClose, true);
|
|
|
@@ -909,6 +912,11 @@ string OBSApp::GetVersionString() const
|
|
|
return ver.str();
|
|
|
}
|
|
|
|
|
|
+bool OBSApp::IsPortableMode()
|
|
|
+{
|
|
|
+ return portable_mode;
|
|
|
+}
|
|
|
+
|
|
|
#ifdef __APPLE__
|
|
|
#define INPUT_AUDIO_SOURCE "coreaudio_input_capture"
|
|
|
#define OUTPUT_AUDIO_SOURCE "coreaudio_output_capture"
|