flutter_distributor icon indicating copy to clipboard operation
flutter_distributor copied to clipboard

[Windows][EXE] Add custom step after run `flutter build`

Open annd22 opened this issue 8 months ago • 1 comments

I'm using the flutter_distributor library to package a Flutter Windows application. The current packaging workflow is as follows:

  • flutter_distributor runs flutter build to 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?

annd22 avatar Jun 04 '25 10:06 annd22

I created a pull request for this issue: https://github.com/fastforgedev/fastforge/pull/274

annd22 avatar Jun 05 '25 08:06 annd22