diff --git a/3rd_party/vc_redist.x64.exe b/3rd_party/vc_redist.x64.exe new file mode 100644 index 0000000..f91d90f Binary files /dev/null and b/3rd_party/vc_redist.x64.exe differ diff --git a/src/siadrive/main.cpp b/src/siadrive/main.cpp index 78fc15e..ce727c3 100644 --- a/src/siadrive/main.cpp +++ b/src/siadrive/main.cpp @@ -17,6 +17,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance, { UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCED_PARAMETER(lpCmdLine); + CefEnableHighDPISupport(); CefMainArgs mainArgs(hInstance); @@ -29,12 +30,8 @@ int APIENTRY wWinMain(HINSTANCE hInstance, CefSettings settings; settings.no_sandbox = true; settings.remote_debugging_port = 8080; - // HACK When logging is enabled, drive access is really slow - FilePath("Debug.log").DeleteFile(); #ifdef _DEBUG settings.single_process = true; -#else - settings.log_severity = LOGSEVERITY_DISABLE; #endif CefInitialize(mainArgs, settings, app, nullptr); diff --git a/src/siadrive_dokan_api/siadokandrive.cpp b/src/siadrive_dokan_api/siadokandrive.cpp index b36bd8d..12516a8 100644 --- a/src/siadrive_dokan_api/siadokandrive.cpp +++ b/src/siadrive_dokan_api/siadokandrive.cpp @@ -871,7 +871,7 @@ public: _dokanOptions.Version = DOKAN_VERSION; _dokanOptions.ThreadCount = 0; // use default #ifdef _DEBUG - _dokanOptions.Options = DOKAN_OPTION_DEBUG; + _dokanOptions.Options = DOKAN_OPTION_DEBUG | DOKAN_OPTION_DEBUG_LOG; #endif }