Skip to content

Developer Guide

Md. Mustafijur Rahman Ratul edited this page Dec 10, 2025 · 1 revision

👨‍💻 Developer Guide

If you want to contribute to the code or build the EXE yourself.

Prerequisites

  • Python 3.10+
  • Virtual Environment (Recommended)

Setup

git clone https://github.com/MustafijRatul/FocusGuardRepo.git
cd FocusGuardRepo
python -m venv venv
# Activate venv (Windows: venv\Scripts\activate)
pip install -r requirements.txt
# If no requirements.txt, install manually:
pip install PySide6 qtawesome pygetwindow pygame matplotlib

Running

python main.py

Building the Executable

We use PyInstaller to compile the app.

pyinstaller --noconsole --onefile --icon=icon1.png --name="FocusGuardPro" --add-data="icon1.png;." --add-data="*.wav;." --add-data="*.mp3;." main.py

Clone this wiki locally