fix: MacOS build error
This commit is contained in:
parent
1785088456
commit
9b77d7b5e2
@ -187,8 +187,8 @@ namespace hex::fs {
|
||||
|
||||
std::vector<std::fs::path> paths = { applicationSupportDir };
|
||||
|
||||
if (exePath)
|
||||
paths.push_back(exePath);
|
||||
if (exePath.has_value()
|
||||
paths.push_back(exePath.value());
|
||||
|
||||
switch (path) {
|
||||
case ImHexPath::Patterns:
|
||||
|
Loading…
x
Reference in New Issue
Block a user