gui: embed compressed dist.zip in the binary for smaller, reproducible builds

Previously `make fetch-gui` extracted the GUI release into cmd/gui/dist/
and the unpacked tree was embedded uncompressed via `//go:embed dist`.

This commits and embeds the GUI bundle (dist.zip) and its release tag
(dist.tag) to the repo so:

- the rclone binary is smaller
- `go build` works on a fresh clone without first running fetch-gui
- a given commit pins an exact GUI version

The "Fetch GUI" step was removed from .github/workflows/build.yml.
This commit is contained in:
Nick Craig-Wood
2026-05-01 12:46:46 +01:00
parent 7400a811fd
commit 56b7d7500e
8 changed files with 45 additions and 45 deletions
+3 -1
View File
@@ -120,4 +120,6 @@ Tailscale (all free).
## History
In v1.74 the GUI was redone and embedded within rclone for ease of use.
In v1.74 the GUI was redone and embedded within rclone for ease of
use. The GUI bundle ships as a compressed zip embedded in the rclone
binary and is served from the zip at runtime.