UI: Add --steam flag

This commit is contained in:
derrod
2022-10-16 01:59:40 +02:00
committed by Jim
parent fca624ea4f
commit e8dc7d6b07
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -80,6 +80,7 @@ static string lastLogFile;
static string lastCrashLogFile;
bool portable_mode = false;
bool steam = false;
static bool multi = false;
static bool log_verbose = false;
static bool unfiltered_log = false;
@@ -3046,6 +3047,9 @@ int main(int argc, char *argv[])
nullptr)) {
opt_disable_missing_files_check = true;
} else if (arg_is(argv[i], "--steam", nullptr)) {
steam = true;
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
} else if (arg_is(argv[i], "--disable-high-dpi-scaling",
nullptr)) {
+1
View File
@@ -240,6 +240,7 @@ static inline int GetProfilePath(char *path, size_t size, const char *file)
}
extern bool portable_mode;
extern bool steam;
extern bool opt_start_streaming;
extern bool opt_start_recording;