From f7ec08c129a72a4d1e19040c0fa1f2a902c0e71e Mon Sep 17 00:00:00 2001 From: Lilith Naomi Nightingale Date: Thu, 29 Apr 2021 14:36:13 +0100 Subject: [PATCH] [emil] require install dir --- tool/emil/emil.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tool/emil/emil.cpp b/tool/emil/emil.cpp index d55bd40..eb5b9cd 100644 --- a/tool/emil/emil.cpp +++ b/tool/emil/emil.cpp @@ -146,6 +146,9 @@ int main(int argc, char **argv) { if (help.was_set()) return 0; + if (!install_dir.was_set()) + return 0; + auto install_dir_actual = std::filesystem::path(install_dir.get().string); auto target_dir_actual = install_dir_actual / "build_assets" / "rom" / "pc"; if (target_dir.was_set()) {