Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ cd Overload
make -j$(nproc) # build the project using all available CPU cores
```

> [!important]
> The editor requires `zenity` to be installed on Linux.

> [!note]
> Officially supported actions for `gen_proj.sh` are: `gmake` (default), `codelite`.<br/>
> Refer to [premake's website](https://premake.github.io/docs/Using-Premake) for more information.
Expand Down
8 changes: 8 additions & 0 deletions Sources/OvEditor/src/OvEditor/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include <OvTools/Profiling/TracyAllocators.h>
#include <OvTools/Utils/String.h>

#include <OvDebug/Logger.h>

#ifdef _WIN32
#undef APIENTRY
#include "Windows.h"
Expand Down Expand Up @@ -83,6 +85,12 @@ int main(int argc, char** argv)

OvEditor::Settings::EditorSettings::Load();

#ifndef WIN32
if (std::system("command -v zenity >/dev/null 2>&1") != 0) {
OVLOG_ERROR("Zenity is required to run Overload!");
Comment thread
tccountus marked this conversation as resolved.
}
#endif

std::optional<std::filesystem::path> projectPath;

if (argc < 2)
Expand Down
Loading