From a73436ed09ac6b20de2b1e399042a36d5f932162 Mon Sep 17 00:00:00 2001 From: Deepmalya Acharya <67915759+Deepmalya1@users.noreply.github.com> Date: Sat, 2 Aug 2025 13:19:55 +0530 Subject: [PATCH 1/4] Add files via upload Fixes the issue where the terminal opens for windows. While opening the application. --- build.bat | 27 +++++++++++++++++++++++++++ build.sh | 7 +++++++ 2 files changed, 34 insertions(+) create mode 100644 build.bat create mode 100644 build.sh diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..67c3383 --- /dev/null +++ b/build.bat @@ -0,0 +1,27 @@ +@echo off +setlocal + +echo ================================ +echo 🔧 Creating virtual environment... +echo ================================ +python -m venv venv + +echo ================================ +echo 🧠 Activating virtual environment... +echo ================================ +call venv\Scripts\activate + +echo ================================ +echo 📦 Installing Nuitka in venv... +echo ================================ +pip install --upgrade pip +pip install nuitka + +echo ================================ +echo 🏗️ Building with Nuitka... +echo ================================ +nuitka --standalone --onefile --windows-disable-console brainworkshop.py + +echo. +echo ✅ Done! Find your EXE in the "dist" folder: dist\brainworkshop.exe +pause diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..0e00002 --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +echo "🧠 Building BrainWorkshop with Nuitka..." + +# Install Nuitka if not installed +pip install --upgrade nuitka + +# Build the .exe with Nuitka (one line) +nuitka --standalone --onefile --windows-disable-console brainworkshop.py \ No newline at end of file From 145c5a84897be71114af73c29ea64e97f37f6895 Mon Sep 17 00:00:00 2001 From: Deepmalya Acharya <67915759+Deepmalya1@users.noreply.github.com> Date: Sat, 2 Aug 2025 13:21:52 +0530 Subject: [PATCH 2/4] Delete build.sh --- build.sh | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 build.sh diff --git a/build.sh b/build.sh deleted file mode 100644 index 0e00002..0000000 --- a/build.sh +++ /dev/null @@ -1,7 +0,0 @@ -echo "🧠 Building BrainWorkshop with Nuitka..." - -# Install Nuitka if not installed -pip install --upgrade nuitka - -# Build the .exe with Nuitka (one line) -nuitka --standalone --onefile --windows-disable-console brainworkshop.py \ No newline at end of file From 347a5863d9f3a0ee296bd94075ef5cd9094dcdac Mon Sep 17 00:00:00 2001 From: Deepmalya Acharya <67915759+Deepmalya1@users.noreply.github.com> Date: Sat, 2 Aug 2025 18:48:29 +0530 Subject: [PATCH 3/4] Delete build.bat --- build.bat | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 build.bat diff --git a/build.bat b/build.bat deleted file mode 100644 index 67c3383..0000000 --- a/build.bat +++ /dev/null @@ -1,27 +0,0 @@ -@echo off -setlocal - -echo ================================ -echo 🔧 Creating virtual environment... -echo ================================ -python -m venv venv - -echo ================================ -echo 🧠 Activating virtual environment... -echo ================================ -call venv\Scripts\activate - -echo ================================ -echo 📦 Installing Nuitka in venv... -echo ================================ -pip install --upgrade pip -pip install nuitka - -echo ================================ -echo 🏗️ Building with Nuitka... -echo ================================ -nuitka --standalone --onefile --windows-disable-console brainworkshop.py - -echo. -echo ✅ Done! Find your EXE in the "dist" folder: dist\brainworkshop.exe -pause From 57fccf3b3cd28979d8bc1eea4246b33c4fb50f0a Mon Sep 17 00:00:00 2001 From: Deepmalya Acharya <67915759+Deepmalya1@users.noreply.github.com> Date: Sat, 2 Aug 2025 18:49:46 +0530 Subject: [PATCH 4/4] Add files via upload --- build.bat | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 build.bat diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..22eb6b0 --- /dev/null +++ b/build.bat @@ -0,0 +1,28 @@ +@echo off +setlocal + +echo ================================ +echo 🔧 Creating virtual environment... +echo ================================ +python -m venv venv + +echo ================================ +echo 🧠 Activating virtual environment... +echo ================================ +call venv\Scripts\activate + +echo ================================ +echo 📦 Installing requirements + Nuitka... +echo ================================ +pip install --upgrade pip +pip install -r requirements.txt +pip install nuitka + +echo ================================ +echo 🏗️ Building with Nuitka... +echo ================================ +nuitka --standalone --onefile --windows-disable-console brainworkshop.py + +echo. +echo ✅ Done! Find your EXE in the "dist" folder: dist\brainworkshop.exe +pause