From 5eee305a336f21e2f9e008624ae6f762f962262e Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Mon, 21 Mar 2022 10:31:32 +1100 Subject: [PATCH] Fix for #2401 --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6f28ac4ed..9534f48ec 100644 --- a/Makefile +++ b/Makefile @@ -143,11 +143,15 @@ cross-compile-all: make cross-compile-linux-arm32v7 make cross-compile-linux-arm32v6 -# ensures a file is present in ui/v2.5/build since this is required -# for the embedded ui library +.PHONY: touch-ui touch-ui: +ifndef IS_WIN_SHELL @mkdir -p ui/v2.5/build @touch ui/v2.5/build/index.html +else + @if not exist "ui\\v2.5\\build" mkdir ui\\v2.5\\build + @type nul >> ui/v2.5/build/index.html +endif # Regenerates GraphQL files generate: generate-backend generate-frontend