feat: add console logos

This commit is contained in:
goat 2021-09-01 00:10:09 +02:00
parent de27e383b2
commit 7d56b717a2
No known key found for this signature in database
GPG key ID: F18F057873895461
2 changed files with 5 additions and 1 deletions

View file

@ -14,6 +14,8 @@ DllExport DWORD WINAPI Initialize(LPVOID lpParam)
ConsoleSetup(L"Dalamud Boot"); ConsoleSetup(L"Dalamud Boot");
#endif #endif
printf("Dalamud.Boot Injectable, (c) 2021 XIVLauncher Contributors\nBuilt at: %s@%s\n\n", __DATE__, __TIME__);
wchar_t _module_path[MAX_PATH]; wchar_t _module_path[MAX_PATH];
GetModuleFileNameW(g_hModule, _module_path, sizeof _module_path / 2); GetModuleFileNameW(g_hModule, _module_path, sizeof _module_path / 2);
std::filesystem::path fs_module_path(_module_path); std::filesystem::path fs_module_path(_module_path);

View file

@ -8,9 +8,11 @@
int wmain(int argc, char** argv) int wmain(int argc, char** argv)
{ {
#if !defined(NDEBUG) #if !defined(NDEBUG)
ConsoleSetup(L"Dalamud Injector Boot"); ConsoleSetup(L"Dalamud.Injector");
#endif #endif
printf("Dalamud.Injector, (c) 2021 XIVLauncher Contributors\nBuilt at: %s@%s\n\n", __DATE__, __TIME__);
wchar_t _module_path[MAX_PATH]; wchar_t _module_path[MAX_PATH];
GetModuleFileNameW(NULL, _module_path, sizeof _module_path / 2); GetModuleFileNameW(NULL, _module_path, sizeof _module_path / 2);
std::filesystem::path fs_module_path(_module_path); std::filesystem::path fs_module_path(_module_path);