Skip to content

Commit

Permalink
chore: macro for plugin version
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirollos committed Nov 22, 2024
1 parent 279f1d2 commit 157b37d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DiscordEuroscope/DiscordEuroscopeExt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "ConfigManager.h"
#include "MessageFormatter.h"

DiscordEuroscopeExt::DiscordEuroscopeExt() : EuroScopePlugIn::CPlugIn(EuroScopePlugIn::COMPATIBILITY_CODE, "Discord Euroscope", "1.3.0", "Kirollos Nashaat", "GNU GPLv3")
DiscordEuroscopeExt::DiscordEuroscopeExt() : EuroScopePlugIn::CPlugIn(EuroScopePlugIn::COMPATIBILITY_CODE, "DiscordEuroscope", PLUGIN_VERSION, "Kirollos Nashaat", "GNU GPLv3")
{
char DllPathFile[_MAX_PATH];
std::string RCPath;
Expand Down
2 changes: 2 additions & 0 deletions DiscordEuroscope/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*/
#pragma once

#define PLUGIN_VERSION ("1.3.0")

#define UPDATE_TIMER (1000) // milliseconds
#define CONFIG_FILENAME "DiscordEuroscope_config.json"
// No longer used by any logic in the code. Only used to be dumped in default .json config file.
Expand Down

0 comments on commit 157b37d

Please sign in to comment.