Skip to content

Commit

Permalink
Try to integrate dark mode support for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed May 15, 2024
1 parent 347e107 commit f580558
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions NanaZip.UI.Modern/NanaZip.Modern.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.props" />
<Import Project="..\NanaZip.Shared\NanaZip.Shared.ModernExperienceShims.props" />
<Import Project="..\NanaZip.Shared\NanaZip.Shared.Mitigations.props" />
<Import Project="..\NanaZip.Frieren\NanaZip.Frieren.props" />
<ItemDefinitionGroup>
<ClCompile>
<AdditionalOptions>%(AdditionalOptions) /Wv:18</AdditionalOptions>
Expand Down
4 changes: 4 additions & 0 deletions NanaZip.UI.Modern/SevenZip/CPP/7zip/UI/FileManager/FM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ static int WINAPI WinMain2(int nCmdShow)
return (int)msg.wParam;
}

#include <NanaZip.Frieren.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE /* hPrevInstance */,
#ifdef UNDER_CE
LPWSTR
Expand All @@ -688,6 +690,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE /* hPrevInstance */,
ErrorMessage("Cannot enable security mitigations");
}

::NanaZipFrierenGlobalInitialize();

try
{
try
Expand Down

0 comments on commit f580558

Please sign in to comment.