mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-10 03:43:15 +08:00
feat(main): show build date on menu startup
This commit is contained in:
@@ -72,8 +72,8 @@ namespace YimMenu
|
||||
void HotkeySystem::CreateHotkey(std::vector<int>& chain)
|
||||
{
|
||||
static auto is_key_unique = [this](int Key, std::vector<int> List) -> bool {
|
||||
for (auto& Key_ : List)
|
||||
if (GetHotkeyLabel(Key_) == GetHotkeyLabel(Key))
|
||||
for (auto& _key : List)
|
||||
if (_key == Key)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace YimMenu
|
||||
|
||||
LogHelper::Init("YimMenuV2", FileMgr::GetProjectFile("./cout.log"));
|
||||
|
||||
LOGF(INFO, "Welcome to YimMenuV2! Build date: {} at {}", __DATE__, __TIME__);
|
||||
|
||||
g_HotkeySystem.RegisterCommands();
|
||||
SavedLocations::FetchSavedLocations();
|
||||
Settings::Initialize(FileMgr::GetProjectFile("./settings.json"));
|
||||
|
||||
Reference in New Issue
Block a user