@echo off
chcp 65001 >nul 2>&1
title MaQiangTang Launcher
color 0A

echo.
echo  Starting MaQiangTang...
echo.

cd /d D:\shared\extracted_files\PLUGINSDIR\app-64\resources\decompiled_code

if not exist "node_modules\electron" (
    echo Installing Electron...
    call npm install electron --save-dev
)

echo Starting application...
npx electron .

pause