(macOS) Fixed a compile error

This commit is contained in:
Leon Styhre 2023-07-03 19:21:11 +02:00
parent 3f870c8001
commit 0999fde122

View file

@ -226,6 +226,7 @@ bool GuiApplicationUpdater::downloadPackage()
fileContents.clear();
#if !defined(__APPLE__)
std::filesystem::permissions(packageTempFile, std::filesystem::perms::owner_all |
std::filesystem::perms::group_all |
std::filesystem::perms::others_read |
@ -241,6 +242,7 @@ bool GuiApplicationUpdater::downloadPackage()
mMessage = "Error: " + errorMessage;
return true;
}
#endif
LOG(LogInfo) << "Successfully downloaded package file \"" << packageTempFile << "\"";