anchor.diff:  @echo off
   rem # SCRIPT FOR RUNNING TAGUI FRAMEWORK ~ TEBEL.ORG #
   
  -rem configure command to launch chrome for Windows
  +rem configure default command location to launch Chrome on Windows
   set chrome_command=C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
  +
  +rem fallback to backup location for some users who cannot install Chrome system-wide
  +if not exist "%chrome_command%" set chrome_command=%LOCALAPPDATA%\Google\Chrome\Application\chrome.exe
   
   rem enable windows for loop advanced flow control
   setlocal enableextensions enabledelayedexpansion
  
positive.code: 	if exist "%flow_file%.log" del "%flow_file%.log" 
  	if exist "%flow_file%.js" del "%flow_file%.js"
  )
  
  rem hack chrome to prevent ended unexpectedly message
  set "chrome_pref=%LOCALAPPDATA%\Google\Chrome\User Data\Default"
  if exist "%chrome_pref%" (
  	gawk "sub(\"\\\"exited_cleanly\\\":false\", \"\\\"exited_cleanly\\\":true\")" "%chrome_pref%" > "%chrome_pref%" > nul 2>&1
  	gawk "sub(\"\\\"exit_type\\\":\\\"Crashed\\\"\", \"\\\"exit_type\\\":\\\"Normal\\\"\")" "%chrome_pref%" > "%chrome_pref%" > nul 2>&1
  )
  
  rem change back to initial directory where tagui is called
  cd /d "%initial_dir%"
  
negative.code: 	set chrome_started=Windows
  	set chrome_switches=--user-data-dir=chrome\tagui_user_profile --remote-debugging-port=9222 about:blank
  	if not exist "%chrome_command%" (
  		echo ERROR - cannot find Chrome at "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
  		echo ERROR - or at user folder "%LOCALAPPDATA%\Google\Chrome\Application\chrome.exe"
  		echo update chrome_command setting in tagui\src\tagui.cmd to your chrome.exe
  		exit /b 1
  	)
  