Skip to content

Commit

Permalink
update to old version - use different config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
impromptu1583 committed Nov 23, 2024
1 parent 70ddb80 commit 8b33f5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SNP/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class SnpConfigLoader {
{"log-level", config.log_level},
};

if (m_config_existed) {
if (!m_config_existed) {
spdlog::info("Creating new config at {}", m_path.string());
} else {
spdlog::info("Updating config at {}", m_path.string());
Expand Down Expand Up @@ -148,6 +148,6 @@ class SnpConfigLoader {
};

inline SnpConfig& SnpConfig::instance() {
static SnpConfig config = SnpConfigLoader{"CrownLink.json"}.load();
static SnpConfig config = SnpConfigLoader{"OldLink.json"}.load();
return config;
}
2 changes: 1 addition & 1 deletion shared_common.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

constexpr const char* CL_VERSION = "0.4.0";
constexpr const char* CL_VERSION = "0.4.1";

#include <string>
#include <concepts>
Expand Down

0 comments on commit 8b33f5f

Please sign in to comment.