Commit Graph

17 Commits

Author SHA1 Message Date
Your Name 498e6ae655 Improve MSI build error handling and fix FFmpeg setup
Replaces PowerShell try/catch with exit code checks for MSI build steps in Windows workflow for clearer error reporting. Removes the install_icon option from FFmpeg MSI setup to address potential build failures.
2025-08-27 14:22:54 +03:00
Your Name 17ec207852 Improve Windows build workflow error handling
Adds error handling to MSI installer creation steps in the Windows build workflow to prevent failures from stopping subsequent ZIP creation. Updates ZIP creation logic to use the dist output directory. Removes the install_icon option from setup.py to address potential MSI build issues.
2025-08-27 13:55:04 +03:00
Your Name 8c27c73570 Dynamically include FFmpeg binaries in setup script
Refactored setup-ffmpeg.py to dynamically check for the existence of FFmpeg binaries before including them in the build. This improves robustness by warning if any binaries are missing and avoids hardcoding file paths in the include_files list.
2025-08-27 02:56:14 +03:00
Your Name 700ec8e27e Simplify cx_Freeze package discovery and include src directory
Removed explicit package listing in build_exe_options for cx_Freeze setup scripts, allowing auto-discovery from main.py. Added the entire src directory to include_files to ensure all source code is bundled with the build.
2025-08-27 02:45:31 +03:00
Mohamed 858fb0fc98 update scripts 2025-08-27 02:39:46 +03:00
Your Name e2454965dd Remove universal Windows build script
Deleted build/windows/windows_build_universal.py as part of cleanup or migration. This script previously handled MSI and ZIP packaging for YTSage using cx_Freeze.
2025-08-27 02:37:37 +03:00
Your Name 42dfb5d8a4 Use absolute paths for build and setup files
Refactored build script to use absolute paths for setup files and build artifacts, improving reliability and path resolution. Enhanced cleaning logic to preserve build/windows scripts, added verbose debug output, and added checks for setup file existence before build steps.
2025-08-27 02:28:28 +03:00
Your Name 3f125bba98 Replace emoji log prefixes with text labels
Changed log message prefixes in YTSageBuildScript from emojis to text labels for improved clarity and consistency in output.
2025-08-27 02:11:09 +03:00
Mohamed 7fb316be9b Add windows_build_universal.py 2025-08-27 01:59:28 +03:00
Your Name b337667ce8 Switch Windows build to Python script, remove PowerShell
Replaces PowerShell build script with Python in CI workflow and deletes the old build/README.md and windows-build-universal.ps1. This streamlines the build process and consolidates build logic into Python for better maintainability.
2025-08-27 01:57:58 +03:00
Your Name f44116baa3 Refactor release notes generation and version parsing
Changed the version extraction regex in Get-VersionFromSetup for improved accuracy. Refactored New-ReleaseNotes to build the release notes string incrementally instead of using a here-string, simplifying formatting and maintenance.
2025-08-27 01:42:42 +03:00
Mohamed 0b3a8e9fa6 Add windows-build-universal script 2025-08-27 01:06:25 +03:00
Mohamed f5ee279bfc Add cx_Freeze setup script for Windows build ffmpeg 2025-08-27 01:05:36 +03:00
Your Name 13b481bd40 Add cx_Freeze setup script for Windows build
Introduces a setup.py script for building YTSage on Windows using cx_Freeze. Supports building executables, MSI installers, and ZIP distributions, with detailed configuration for included/excluded packages, assets, and installer options.
2025-08-27 01:04:49 +03:00
Mohamed 1eb138172c Create setup.py for Windows build 2025-08-27 01:03:57 +03:00
Your Name afb7e3c060 Add comprehensive build system documentation
Expanded build/README.md with detailed instructions for CI/CD and local builds, directory structure, build script options, output artifacts, requirements, troubleshooting, version management, and future enhancements for the YTSage build system.
2025-08-27 01:02:41 +03:00
Mohamed eaf024d78b Add README.md file with initial content 2025-08-27 01:01:45 +03:00