You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: transfer-gui release archives are unusable - Electron is not bundled and demo values remain #28
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