[Windows][EXE] Add custom step after run `flutter build`
I'm using the flutter_distributor library to package a Flutter Windows application. The current packaging workflow is as follows:
- flutter_distributor runs
flutter buildto build files. - It then packages the application using Inno Setup.
However, the issue arises after the flutter build step. The build generates multiple files, including app.exe <-- I need to sign this file.
The problem is that I cannot find a way to add a custom step between the flutter build command and the Inno Setup flow to automate the signing of app.exe.
Request:
Can you suggest a way to add a custom step between the flutter build and Inno Setup flow to sign the app.exe file, or recommend a better solution for this workflow?
I created a pull request for this issue: https://github.com/fastforgedev/fastforge/pull/274