|
|
@ -27,7 +27,7 @@ namespace { |
|
|
|
{ |
|
|
|
{ |
|
|
|
GetMessagingInterface()->RegisterListener([](MessagingInterface::Message* message) { |
|
|
|
GetMessagingInterface()->RegisterListener([](MessagingInterface::Message* message) { |
|
|
|
if (message->type == MessagingInterface::kPostPostLoad) { |
|
|
|
if (message->type == MessagingInterface::kPostPostLoad) { |
|
|
|
if (!std::filesystem::exists("Data\\Enderal - Forgotten Stories.esm") || !std::filesystem::exists("Data\\SKSE\\Plugins\\EnderalSE.dll")) { |
|
|
|
if (!std::filesystem::exists("Data\\Enderal - Forgotten Stories.esm") || !std::filesystem::exists("Data\\SKSE\\Plugins\\EnderalSE.ini")) { |
|
|
|
MessageBoxW(NULL, L"Easy Crafting requires Enderal SE 2.0.12 or newer.", L"Enderal SE Easy Crafting", MB_OK | MB_ICONERROR); |
|
|
|
MessageBoxW(NULL, L"Easy Crafting requires Enderal SE 2.0.12 or newer.", L"Enderal SE Easy Crafting", MB_OK | MB_ICONERROR); |
|
|
|
exit(EXIT_FAILURE); |
|
|
|
exit(EXIT_FAILURE); |
|
|
|
} |
|
|
|
} |
|
|
|