Skip to content

Conversation

@Aman071106
Copy link
Contributor

PR Description

This PR implements the infrastructure required to package and publish API Dash to WinGet, including a professional Windows installer and an automated CI/CD pipeline (#549).

Changes Implemented

  • Added Inno Setup Script: Created packaging/windows/apidash.iss to bundle the Flutter Windows build into a standard .exe installer (apidash-setup.exe).
  • Automated CI/CD: Added a new GitHub Action (.github/workflows/winget-publish.yml) that triggers on release to:
    1. Build the Windows application.
    2. Compile the installer using Inno Setup.
    3. Upload the installer to release assets.
    4. Automatically submit the package to microsoft/winget-pkgs.
  • Git Configuration: Updated .gitignore to explicitly allow tracking of the packaging/windows/ directory.
  • Documentation: Updated doc/dev_guide/packaging.md with detailed steps for building the Windows installer locally and an overview of the WinGet automation.

Related Issues

Closes #549
Related to #240

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

  • Yes
  • No, and this is why: This PR involves CI/CD configuration and packaging scripts which were verified by manually generating the installer and running the build pipeline locally.

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add WinGet install support

1 participant