Skip to content

Conversation

Deepmalya1
Copy link

🛠️ What Does This PR Do?

This PR adds a build.bat script that:

  • Creates a virtual environment
  • Activates it
  • Installs Nuitka
  • Compiles the project using Nuitka into a single .exe file
  • Disables the terminal window from opening when the app is launched

This change fixes the issue where the application used to open alongside a terminal window, and closing the terminal would also close the application.

Fixes: #58


🧩 Type of Change

  • ✅ Bug fix
    Fixes the problem of popping up terminal when the application is opened and stays until the application is closed
    Fixes the problem where if the terminal is clsoed the application is also closed

  • ✅ Build system improvement
    Replaces PyInstaller with Nuitka for more reliable bundling of UI components (like pyglet)


Video Proof

FixIssue.mp4

🧪 How to Build & Test

⏱️ Takes 3–5 minutes to complete

1. Open a terminal in the project root

2. Run the build script:

build.bat

Fixes the issue where the terminal opens for windows. While opening the application.
@Deepmalya1 Deepmalya1 changed the title Fix terminal open Fixes the problem of popping up terminal when the application is opened and stays until the application is closed Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows 11 - terminal pops up
1 participant