@echo off
setlocal EnableExtensions
cd /d "%~dp0.."
title NexaOffice - Open Latest Build

if exist "dist\NexaOffice_WorkSuite\NexaOffice_WorkSuite.exe" (
  explorer "dist\NexaOffice_WorkSuite"
  exit /b 0
)

if exist "dist" (
  explorer "dist"
  exit /b 0
)

echo No dist folder found yet. Please run build_exe.bat first.
pause
