diff options
| author | David Lönnhager <david.l@mullvad.net> | 2021-07-09 09:24:27 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2021-07-09 09:24:27 +0200 |
| commit | f6c6c530863c8d71da589e1f54fb822c9b488860 (patch) | |
| tree | 18e79788eb4a7d894a000c884351b3f475b5621e /windows/nsis-plugins/src/log/log.cpp | |
| parent | a77a58850d4e005df88acbac27782c0a382ce6b8 (diff) | |
| parent | 8b59e0e32bdcf5692ce7088a8dbf5030350131e8 (diff) | |
| download | mullvadvpn-f6c6c530863c8d71da589e1f54fb822c9b488860.tar.xz mullvadvpn-f6c6c530863c8d71da589e1f54fb822c9b488860.zip | |
Merge branch 'fix-known-folder'
Diffstat (limited to 'windows/nsis-plugins/src/log/log.cpp')
| -rw-r--r-- | windows/nsis-plugins/src/log/log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/nsis-plugins/src/log/log.cpp b/windows/nsis-plugins/src/log/log.cpp index 4a7bf1bf49..23ca329eb1 100644 --- a/windows/nsis-plugins/src/log/log.cpp +++ b/windows/nsis-plugins/src/log/log.cpp @@ -93,7 +93,7 @@ std::wstring GetWindowsVersion() { common::fs::ScopedNativeFileSystem nativeFileSystem; - const auto systemDir = common::fs::GetKnownFolderPath(FOLDERID_System, 0, nullptr); + const auto systemDir = common::fs::GetKnownFolderPath(FOLDERID_System); const auto systemModule = std::filesystem::path(systemDir).append(L"ntoskrnl.exe"); DWORD dummy; @@ -244,7 +244,7 @@ void __declspec(dllexport) NSISCALL SetLogTarget } auto logpath = std::filesystem::path(common::fs::GetKnownFolderPath( - FOLDERID_ProgramData, 0, nullptr)); + FOLDERID_ProgramData)); logpath.append(L"Mullvad VPN"); if (FALSE == CreateDirectoryW(logpath.c_str(), nullptr)) |
