// PART 01
Desktop-local install
The desktop edition ships as native packages and runs the full server stack on the user’s machine, sidecar-style: a Tauri window fronting a local botserver.
Get a build
The supported, always-published artifacts are the tarball and the single
self-extracting executable; the .deb, .rpm and .AppImage produced by the
Tauri bundler are best effort and have never shipped in a release.
| Package | Status |
|---|---|
generalbots-linux-<arch>.tar.gz |
Published for x86_64 and arm64 (preview): unpack, then ./install.sh |
generalbots (single file) |
Published for x86_64: chmod +x generalbots && ./generalbots |
.deb / .rpm / .AppImage |
Best effort; the bundler step is continue-on-error |
Windows .msi / NSIS -setup.exe |
Best effort |
macOS arm64 .dmg |
Unsigned, best effort, published in the -macos pre-release |
The single-file run is the supported “grab and go” path: it unpacks itself
under ~/.local/share/generalbots and opens the setup wizard. It is still a
glibc binary: it needs libwebkit2gtk-4.1-0, libpq5 and OpenSSL 3
(libssl3t64 on Debian 13/Ubuntu 24.04+, libssl3 on older releases). Run
./PROD-DEPENDENCIES.sh --check at the repository root first.
What the sidecar does
On startup the desktop app spawns botserver as a sidecar with
BOTSERVER_STACK_PATH and BOTSERVER_INSTALLERS_PATH set, copies the product
file into the stack, and polls /api/product every 500 ms (120 s timeout). The
window stays hidden until the API responds, then loads suite/desktop.html.
On exit the child process is killed; a Drop guard is the safety net.
Embedded suite UI
The desktop sidecar carries the whole suite inside the botserver binary
(desktop-local builds the embed-ui feature). The packaged ui/ folder in
the tarball payload and the single-file executable still takes precedence via
BOTUI_PATH, so an edited file on disk wins without a rebuild — but the
.deb, .rpm and .AppImage bundles and the raw botserver-* artifacts,
which ship no suite folder at all, now serve /suite, /themes and the
client-routed application paths (/drive, /chat/…) straight from the
compiled-in copy. API, DAV and webhook paths keep their explicit 404s so a
missing route is never masked by the shell.
Updating an installation
The Tauri updater plugin is not registered and there is no plugins.updater
configuration, so the install step replaces files on disk:
- tarball — run
./install.shagain; it replaces~/.local/opt/general-botsand leaves the data directory untouched. - AppImage — download the new file, verify it against
SHA256SUMS-linux, replace the old path,chmod +x, start. - deb/rpm —
sudo apt install ./…deborsudo dnf upgrade ./…rpm. - macOS — open the new
.dmgand drag the app over the old one.
User data is never stored next to the package. The stack, logs, workspace and
cached installers live in ~/.local/share/generalbots (override with
BOTSERVER_STACK_PATH), so it survives every upgrade above.
GET http://127.0.0.1:8080/api/health reports the running version; the desktop
build also exposes the version and the GitHub release check in
Settings → Updates. The desktop shell checks the latest GitHub release at
startup (at most once a day) and never downloads or installs anything silently.