New recorder plugin + bugfix
This commit is contained in:
@@ -66,18 +66,16 @@ duk_ret_t test_func(duk_context *ctx) {
|
||||
|
||||
// main
|
||||
int sdrpp_main(int argc, char *argv[]) {
|
||||
#ifdef _WIN32
|
||||
//FreeConsole();
|
||||
// ConfigManager::setResourceDir("./res");
|
||||
// ConfigManager::setConfigDir(".");
|
||||
#endif
|
||||
|
||||
spdlog::info("SDR++ v" VERSION_STR);
|
||||
|
||||
// Load default options and parse command line
|
||||
options::loadDefaults();
|
||||
if (!options::parse(argc, argv)) { return -1; }
|
||||
|
||||
#ifdef _WIN32
|
||||
if (!options::opts.showConsole) { FreeConsole(); }
|
||||
#endif
|
||||
|
||||
// Check root directory
|
||||
if (!std::filesystem::exists(options::opts.root)) {
|
||||
spdlog::warn("Root directory {0} does not exist, creating it", options::opts.root);
|
||||
|
||||
Reference in New Issue
Block a user