mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-17 22:13:27 +01:00
This commit adapts a basic GoReleaser configuration to work for Rust projects, allowing us to automatically create releases on GitHub via GitHub Actions whenever a semantic version tag (vX.Y.Z) is pushed, with custom changelogs generated by kokai, and zipped binaries attached to the release. Those zipped binaries are then used to create a Scoop release in a custom bucket. Due to the way that Scoop uses shims, when running the 'komorebic start' command, there needs to be an explicit check to try and determine if komorebi has been installed via Scoop. This is done by checking for a komorebi.ps1 shim in the Path. Scoop shims cannot be used with the Start-Process PS command, so instead, we replicate in code what the komorebi.ps1 script is doing (finding the path to the current version of the executable), and then passing the entire path to the Start-Process command that gets called to start komorebi. The README has been updated to reflect the availability of prebuilt binaries and how to get started with them.