@echo off
rem Bookkeeper installer for Windows: double-click to install or update Bookkeeper.
rem It runs https://taxes.decaro.net/install.ps1, which installs Python if needed, downloads Bookkeeper,
rem checks its digital signature, and adds a Bookkeeper icon to the desktop and the Start menu.
title Bookkeeper installer
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12; irm https://taxes.decaro.net/install.ps1 | iex"
if errorlevel 1 (
  echo.
  echo The installer couldn't run. Check that this computer is connected to the internet and try again.
  pause
  exit /b 1
)
echo.
echo You can close this window.
timeout /t 60 >nul
