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:
+3
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user