From ef96c175c8b3f0cdfd5b3b207c75f5b08f3596a1 Mon Sep 17 00:00:00 2001 From: Alex Bates <16batesa@gmail.com> Date: Tue, 22 Dec 2020 00:37:37 +0000 Subject: [PATCH] pr comments --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ab3810b0d..da7cc3140a 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ TARGET = papermario COMPARE = 1 NON_MATCHING = 0 WATCH_INCLUDES = 1 +WSL_ELEVATE_GUI = 1 -include settings.mk @@ -72,7 +73,9 @@ WSL := 0 JAVA := java ifeq ($(findstring microsoft,$(shell cat /proc/sys/kernel/osrelease)),microsoft) WSL := 1 - JAVA := powershell.exe -command java + ifeq ($(WSL_ELEVATE_GUI),1) + JAVA := powershell.exe -command java + endif endif OLD_AS=tools/$(OS)/mips-nintendo-nu64-as