From d2a1541f48c963b9a993fcac0ea5d822e073efd2 Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Sun, 4 Sep 2022 10:46:19 -0500 Subject: [PATCH] Update setup.sh --- setup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/setup.sh b/setup.sh index ef5819b7..1f0f6dc1 100755 --- a/setup.sh +++ b/setup.sh @@ -21,6 +21,7 @@ displayHelp () { printf "${bold}${GRE}Script to copy Thorium source files over the Chromium source tree.${c0}\n" && printf "${bold}${YEL}Use the --mac flag for MacOS builds.${c0}\n" && printf "${bold}${YEL}Use the --raspi flag for Raspberry Pi builds.${c0}\n" && + printf "${bold}${YEL}Use the --woa flag for Windows on ARM builds.${c0}\n" && printf "\n" } @@ -94,6 +95,19 @@ case $1 in --raspi) copyRaspi; esac +# Windows on ARM workaround +copyWOA () { + printf "\n" && + printf "${YEL}Copying Windows on ARM build files...${c0}\n" && + cp -r -v arm/build/config/* $HOME/chromium/src/build/config/ && + cp -r -f -v arm/arm.gni $HOME/chromium/src/build/config/ && + printf "\n" +} + +case $1 in + --woa) copyWOA; +esac + printf "${GRE}Done!\n" && printf "\n" &&