From 5ae35fb06e6732d77c317a3e2ff57ee44dfcb271 Mon Sep 17 00:00:00 2001 From: Kima Date: Thu, 21 Mar 2024 20:15:24 +0100 Subject: [PATCH] some idiot fucked this up and i need to fix it AGAIN --- tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools.py b/tools.py index 6d407a6..95f7819 100644 --- a/tools.py +++ b/tools.py @@ -93,7 +93,7 @@ def build(): Screen.clear() # Execute the build command and capture its output - build_command = "cd refilc && flutter build apk" + build_command = "cd refilc && flutter build apk --release --dart-define=APPVER=$(cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1) --no-tree-shake-icons" process = subprocess.Popen(build_command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) # Capture the output of the build command