ClinicianFOCUS / FreeScribe

A medical scribe capable of creating SOAP notes running Whisper and Kobold based on conversation with a patient
GNU General Public License v3.0
0 stars 0 forks source link

Updated Auto-Release workflow to build a installer + local whisper fix #3

Closed ItsSimko closed 3 weeks ago

ItsSimko commented 1 month ago

Description

Updated Auto-Release workflow to build an installer + local whisper fix

Changes Made

Bundled whisper assets to the exe with PyInstaller to fix local whisper not working Added an installer using Inno Setup to the workflow to have an installer in all future release tags Notes: Still has unknown publisher warning.

Summary by Sourcery

Enhance the auto-release workflow by adding an installer creation step using Inno Setup and fixing the local whisper functionality by bundling necessary assets with the executable.

New Features:

Bug Fixes:

CI:

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request updates the Auto-Release workflow to build an installer and fixes a local whisper issue. The changes include bundling whisper assets with the executable using PyInstaller and adding an Inno Setup installer to the workflow for future releases.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated PyInstaller command to include whisper assets
  • Modified PyInstaller command to bundle whisper assets with the executable
  • Added '--add-data' option to include whisper assets in the build
.github/workflows/release.yml
Added Inno Setup installer creation to the workflow
  • Introduced a new step to compile .ISS file to .EXE installer
  • Used Minionguyjpro/Inno-Setup-Action@v1.2.2 for creating the installer
  • Specified setup.iss as the input file for Inno Setup
.github/workflows/release.yml
Modified release asset upload process
  • Renamed the existing upload step to 'Upload EXE'
  • Added a new step 'Upload Installer' to include the installer in the release assets
  • Set the installer asset name to 'FreeScribeInstaller_windows.exe'
.github/workflows/release.yml
Created Inno Setup script for installer configuration
  • Defined basic setup parameters like AppName, AppVersion, and output settings
  • Specified file to be included in the installer (client.exe)
  • Added options for creating shortcuts in Start Menu and Desktop
  • Included a post-installation option to launch the application
setup.iss

Tips and commands #### Interacting with Sourcery - **Trigger a new review:** Comment `@sourcery-ai review` on the pull request. - **Continue discussions:** Reply directly to Sourcery's review comments. - **Generate a GitHub issue from a review comment:** Ask Sourcery to create an issue from a review comment by replying to it. #### Customizing Your Experience Access your [dashboard](https://app.sourcery.ai) to: - Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others. - Change the review language. - Add, remove or edit custom review instructions. - Adjust other review settings. #### Getting Help - [Contact our support team](mailto:support@sourcery.ai) for questions or feedback. - Visit our [documentation](https://docs.sourcery.ai) for detailed guides and information. - Keep in touch with the Sourcery team by following us on [X/Twitter](https://x.com/SourceryAI), [LinkedIn](https://www.linkedin.com/company/sourcery-ai/) or [GitHub](https://github.com/sourcery-ai).
yingbull commented 1 month ago

Great work! A few minor tweaks if you could - or feel free to chat!