From eb4787f9eb8f87bc940db35cbc1fb1faa31885d7 Mon Sep 17 00:00:00 2001 From: Ken Soh Date: Sun, 13 Dec 2020 11:25:47 +0800 Subject: [PATCH] add chrome location fallback for windows --- src/tagui.cmd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tagui.cmd b/src/tagui.cmd index ebf49380..6325428f 100644 --- a/src/tagui.cmd +++ b/src/tagui.cmd @@ -4,6 +4,11 @@ rem # SCRIPT FOR RUNNING TAGUI FRAMEWORK ~ TEBEL.ORG # rem configure command to launch chrome for Windows set chrome_command=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe +rem fallback in case newer Chrome is not installed in x86 folder +if not exist "%chrome_command%" ( + set chrome_command=C:\Program Files\Google\Chrome\Application\chrome.exe +) + rem enable windows for loop advanced flow control setlocal enableextensions enabledelayedexpansion