Skip to content

Bug: transfer-gui release archives are unusable - Electron is not bundled and demo values remain #28

Open

Description

@LinuxSuRen

Description

The GUI binary (go-astilectron) expects to download/unpack Electron at runtime; the released transfer-gui-* archives contain only the binary + README + LICENSE, so on a fresh machine the GUI cannot start — the archives are effectively dead weight.

Also in ui/main.go:

a, err := astilectron.New(l, astilectron.Options{
    AppName:           "Test",
    BaseDirectoryPath: "example",
})

Test / example are leftovers from the astilectron demo app.

Minor: ui/server/main/main.go waits on syscall.SIGKILL, which cannot be caught — that branch never runs; SIGINT is not handled at all.

Suggested fix (options)

  • bundle the astilectron/Electron vendor directory into the GUI archives, or
  • drop the Electron dependency in favor of the lighter approach that already exists in-repo: serve the embedded UI (ui/server) on a local port and open the default browser, or
  • if neither happens soon, mark the GUI as experimental in the README and drop the GUI archives from releases,
  • set a real AppName/BaseDirectoryPath; fix the signal handling (signal.Notify(s, syscall.SIGINT, syscall.SIGTERM)).

Note: go-astilectron is barely maintained upstream (v0.29.0 pinned since 2022), which makes the Electron path a long-term liability.

Activity

  1. added
    bug
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions