Update app.py
Browse files
app.py
CHANGED
@@ -894,13 +894,13 @@ input('Press Enter to exit...')""",
|
|
894 |
thread = threading.Thread(target=get_result)
|
895 |
thread.start()
|
896 |
|
897 |
-
# Progress simulation with
|
898 |
progress_steps = [
|
899 |
(0.1, "Checking Nuitka installation..."),
|
900 |
(0.15, "Checking MinGW-w64 for Windows targets..." if extension == ".exe" else "Checking environment..."),
|
901 |
(0.2, "Setting up environment..."),
|
902 |
(0.3, "Installing requirements..."),
|
903 |
-
(0.4, f"Starting {
|
904 |
(0.5, "Processing imports..."),
|
905 |
(0.6, "Optimizing code..."),
|
906 |
(0.7, f"Creating {extension} binary..."),
|
|
|
894 |
thread = threading.Thread(target=get_result)
|
895 |
thread.start()
|
896 |
|
897 |
+
# Fixed: Progress simulation with proper string formatting
|
898 |
progress_steps = [
|
899 |
(0.1, "Checking Nuitka installation..."),
|
900 |
(0.15, "Checking MinGW-w64 for Windows targets..." if extension == ".exe" else "Checking environment..."),
|
901 |
(0.2, "Setting up environment..."),
|
902 |
(0.3, "Installing requirements..."),
|
903 |
+
(0.4, f"Starting {'Windows cross-' if extension == '.exe' else ''}compilation..."),
|
904 |
(0.5, "Processing imports..."),
|
905 |
(0.6, "Optimizing code..."),
|
906 |
(0.7, f"Creating {extension} binary..."),
|