flutter_distributor
flutter_distributor copied to clipboard
feat(windows): add post-package command option for Windows packaging
Add --post-package-windows-cmd option to execute custom commands between
build and package steps for Windows platform. This enables custom file
operations (like code signing) on the built executable before packaging.
Changes:
- Add new CLI option
--post-package-windows-cmdincommand_package.dart - Implement command execution logic in
unified_distributor.dart - Add proper error handling and logging for custom command execution
Example usage:
fastforge package --platform windows --targets exe --post-package-windows-cmd="call ./sign-file.bat"
This pull request is for: https://github.com/fastforgedev/fastforge/issues/272