Skip to content

Conversation

DealsBeam
Copy link

This commit introduces a new Windows batch script, build.bat, to fully automate the build process described in BUILDING.md.

The script handles:

  • Cloning and bootstrapping vcpkg
  • Installing required vcpkg packages
  • Building the Chromium Embedded Framework (CEF) from a user-provided directory
  • Installing NPM dependencies for the UI
  • Creating and installing a test certificate
  • Building the main Visual Studio solution

This script significantly simplifies the setup for new and existing developers, reducing the chance of manual errors.

The BUILDING.md file has also been updated to document the usage of this new script.

This commit introduces a new Windows batch script, `build.bat`, to fully automate the build process described in `BUILDING.md`.

The script handles:
- Cloning and bootstrapping vcpkg
- Installing required vcpkg packages
- Building the Chromium Embedded Framework (CEF) from a user-provided directory
- Installing NPM dependencies for the UI
- Creating and installing a test certificate
- Building the main Visual Studio solution

This script significantly simplifies the setup for new and existing developers, reducing the chance of manual errors.

The `BUILDING.md` file has also been updated to document the usage of this new script.
This commit corrects the download URL for the Chromium Embedded Framework (CEF) dependency in the GitHub Actions CI workflow.

The previous URL pointed to version 139, which was incorrect. This has been updated to point to the correct version 136, as specified in the project's build documentation.

The cache key for the CEF dependency has also been updated from `v139` to `v136` to reflect this change.
This commit introduces two major improvements to the developer experience:
1. A `build.bat` script to fully automate the local build process.
2. A GitHub Actions CI pipeline to automatically build the project.

The `build.bat` script handles all steps from the BUILDING.md file, including vcpkg setup, CEF build, NPM asset build, and the final solution build. It can be run non-interactively for CI purposes.

The CI workflow (`.github/workflows/ci.yml`) triggers on pushes and pull requests to the main branch. It uses the `build.bat` script to perform the build and caches the large CEF dependency to optimize run times.

The `BUILDING.md` file has been updated to document the new build script.

Signed-off-by: hnic <hnic@pm.me>
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.

1 participant