BAAS Docs
User Guide

Installation and Connection

Desktop packages, normal and portable setup, every advanced option, the actual workflow, cancellation, automatic authentication and first connection.

Desktop setup prepares a local backend. For phone installation, see Android Client. WebUI connects to an already running service.

Installing the client, preparing Python/backend files, authenticating, and connecting the correct device are separate checks. Do not enable resource-spending tasks merely because installation completed.

Download the Client

Choose the operating system and CPU architecture on official Releases. The panel below uses GitHub's releases/latest endpoint, not the dev branch or an automatic RC selection. Open Releases explicitly for a prerelease.

Download BAAS Tauri

Download BAAS Tauri

Open Releases

Loading latest release...

Platform / packageUse
Windows x64 or ARM64 installer, *-setup.exeInstall the matching desktop client, then prepare its backend inside the app
Windows portable EXERun the matching *_portable.exe in a writable directory; retain adjacent configuration and backend files
macOS aarch64.dmg / x64.dmgApple Silicon / Intel respectively; drag the app into Applications
Linux amd64.deb / arm64.debMatch the host architecture and package manager
Linux x86_64.rpm / aarch64.rpmMatch the host architecture and RPM-based distribution
Linux x86_64.AppImage / aarch64.AppImagex64 / ARM64; make the file executable and run it from a writable persistent directory
Android APKFollow the separate Android guide; do not use the desktop backend-directory instructions

Only select assets actually published for that release. Updater archives and signature files are not interchangeable with a first-install DMG or installer. The OS package installs the client; the app's Setup Wizard manages the backend environment.

Linux AppImage

Run chmod +x BAAS.Tauri_*.AppImage, then launch the matching file. Updates verify its signature and replace that same original file, retaining its permissions; AppImage clients request AppImage updates even on Debian or RPM systems. Keep the file and its parent directory writable. Backend files and setup.toml use the selected persistent directory (normally ~/.baas), or the original AppImage’s directory when an adjacent setup.toml selects portable mode. The temporary APPDIR mount is rejected as a data directory. Linux client packages support x64 and ARM64.

macOS Security

BAAS Tauri is not yet notarized by Apple, so Gatekeeper blocks the first launch. First confirm the DMG came from the official Releases, then follow these steps to add an exception for BAAS Tauri only. The flow follows Apple's official instructions. The screenshots show the Simplified Chinese macOS interface; wording may differ slightly between macOS versions.

Overriding Gatekeeper carries risk; do it only for an installer from a trusted source. Do not disable Gatekeeper/SIP or blindly remove quarantine from an untrusted download.

1. Try to open it once. Drag BAAS Tauri into Applications and double-click it. When macOS reports that “BAAS Tauri” was not opened, click Done, not Move to Trash.

macOS dialog (Chinese UI) reporting that BAAS Tauri was not opened, with Done and Move to Trash buttons

2. Allow it in Privacy & Security. Open System Settings → Privacy & Security and scroll to Security. On the row “BAAS Tauri” was blocked to protect your Mac, click Open Anyway. The button appears only for about an hour after the launch attempt; if it is missing, repeat step 1.

Privacy and Security settings (Chinese UI) showing BAAS Tauri blocked in the Security section with an Open Anyway button

3. Confirm. When asked again whether to open “BAAS Tauri”, click Open Anyway and enter your login password or use Touch ID.

macOS dialog (Chinese UI) asking whether to open BAAS Tauri, with Move to Trash, Open Anyway and Done buttons

BAAS Tauri is then saved as an exception and can be opened normally. If a newer DMG is blocked again, repeat these steps.

Directory Selection and Startup

Portable Setup Wizard with the locked adjacent directory and channel/transport summary

There are two desktop modes:

ModeDirectory and persistence
Normal installType the backend directory or use the folder button. Cancelling the folder picker retains the current value. The selected root is remembered as base_dir in app-data .app_storage.json; its updater configuration is <root>/setup.toml
PortableAn existing setup.toml beside the executable activates portable mode. The displayed directory is read-only, baas_root_path is normalized to ".", and .app_storage.json stays beside the executable

The screenshot is portable, not a normal-install folder-picker demonstration. Do not create an adjacent setup.toml merely to experiment with a normal installation: it changes mode. Moving portable files separately can break code/runtime/configuration relationships.

Normal Windows defaults to the current working directory, macOS to an app-adjacent BAAS directory, and Linux to ~/.baas. Choose a stable writable location, not a source checkout with edits you need to keep. Repository updates can replace tracked code; back up profiles and local work first. Changing the selected root does not migrate old profiles automatically.

If a remembered normal root still exists and is nonempty, or the app is portable, startup proceeds into the workflow automatically. Nonempty is not validation of a working backend. An invalid old directory can therefore produce a setup failure rather than the first-run form.

On the initial form, Cancel Installation exits the app; Start Installation begins preparation. After preparation has started, the terminal's Cancel has a different meaning: stop that workflow and return to this form.

Advanced Settings

Actual installer advanced dialog with language, theme, channel, transport, skip updates, auto-enter and MirrorC verification
ControlBehavior
LanguageThe seven supported client languages; changes the actual installer/app language immediately, not the game server or docs language
ThemeLight, Dark or System; applies immediately. The terminal itself remains dark even in the app's light theme
Update Channelstable or dev; selects backend repository/delivery refs, not the desktop client release channel
Data transportWebSocket, native pipe, plus shared memory on supported Windows/Linux desktop builds. This is client/backend transport, not ADB or screenshot method
Skip updatesgeneral.no_update; keep existing main/Cpp files instead of repository synchronization. It does not supply missing code or guarantee offline startup
Enter automatically after installationClient-wide autoEnterAfterInstall, default on. When off, keep completion logs until Open Home is clicked; not OS login autostart or scheduler Start
MirrorC CDKOptional distribution credential; Verify CDK checks it for the selected channel. A successful check stages the trimmed key; a failed check leaves the saved key intact
ConfirmPersist the supported updater options for the selected root and close
Cancel / close / outside / EscapeDismiss the dialog; this is not a full rollback, as described below

Language, theme and auto-enter are persisted client preferences. Channel, transport, skip-update and successfully verified CDK changes update the parent setup state. Closing with Cancel does not restore that parent state; starting installation can still persist those values. Review the summary and reopen the dialog if necessary. A typed unverified CDK is only a text draft and is not applied.

The CDK field is not password-masked. Do not put real credentials in screenshots or support logs. Installer validation uses its Verify button; this dialog no longer contains the old download-source selector or Test Update control. Later source/SHA controls are under Updates.

Actual Windows native installer transport choices including shared memory

A shared-memory launch requires a matching backend with main.service.py --shm-name support. If the message says this support is missing, check whether backend files are missing or older, or select WebSocket for a compatible older backend. Repeatedly restarting the same incompatible combination cannot add that support.

Workflow and Logs

The current workflow has 14 planned nodes. Repository and environment lanes overlap; log arrival order and node numbering are not a serial script or an overall percentage.

NodeWork and possible skip
Config MigrationLoad/migrate setup.toml, validate configured delivery, plan target/staging directories
Main RepositorySynchronize main BAAS code unless Skip updates is on
Cpp RepositorySynchronize OCR/prebuild files unless Skip updates is on
Install UVEnsure UV for a managed environment; custom Python skips it
Record Git VersionsRecord repository versions when the applicable Git path runs; may remain pending on a skipped path
CPython SourceRank Python-download sources if managed Python is missing
Install PythonInstall the configured managed Python version if needed
Create VenvPrepare the managed .venv; a custom interpreter skips managed preparation
Finalize RepositoriesMove fresh staged files into place and persist repository state
PyPI SourceSelect/fail over package indexes and coordinate dependency preparation
Compile DependenciesBuild/reuse the service lock; work may already have run inside source failover
Sync DependenciesSynchronize the managed environment; matching cache/custom-runtime paths can skip it
Retain UV CacheKeep reusable downloads/builds, rather than automatically deleting the UV cache
Launch BackendStart the service with the chosen transport and wait for readiness

Hover or focus a node for status, description/command, timing and available error. Success, skipped, pending, running, failed and stopped are different states. Per-node elapsed time is not a benchmark and the count is not download progress.

Real native completed workflow with a focused backend-launch node and its timing details

The verified reuse path can show 13/14 with Installation complete, because Record Git Versions remains pending. Do not wait forever for every circle to become green; inspect completion, failed nodes and the actual backend connection. Conversely, a high count is not proof of authentication or device readiness.

The copy icon and Setup Error's Copy Logs serialize the collected structured installer-log buffer, not a guaranteed complete PTY transcript or filesystem archive. It can include earlier retries. Preserve the failing node/message and relevant terminal output as well, and check that clipboard copying actually succeeded before reporting. Review private paths, endpoints and credentials.

Cancel, Failure and Retry

Deliberate missing-backend failure in the real isolated installer, with Back to Setup and Copy Logs

During an unfinished run, the terminal's Cancel requests workflow abortion and returns to setup. Plain Escape does the same only when no settings/error dialog, menu or selection overlay owns the key, and the key is not modified, repeated or part of input composition. Escape is not a cancellation shortcut after Backend Ready.

Cancellation stops registered process/thread tasks and cleans registered temporary staging paths. It is not a transactional rollback of repository changes already applied, installed dependencies or changed preferences, and it does not uninstall an existing backend.

Setup Error displays the failing step, message and collected logs. Back to Setup invokes cancellation/cleanup and lets you review options and retry. Closing only the error dialog does not retry or undo the failure. Copy logs first; then change the cause, not just the retry frequency. See Troubleshooting.

Completion and Authentication

Completed installer with logs retained and Open Home because auto-enter is off

With automatic entry enabled, Backend Ready starts authentication; otherwise Open Home does so. Desktop setup stores a generated local baasAutoPassword, verifies the managed service, submits authentication and initializes synchronized state. A new desktop installation does not normally require manually choosing a BAAS key.

Authentication recovery has side effects: if that attempt fails, the desktop flow can stop the managed service, delete service_auth.json, service_remembered_logins.json, service_signing_key.bin and service_ticket.key under backend config/, restart it and generate a new password. Other clients' remembered credentials/identity trust can become invalid. This is not harmless metadata refresh; do not point a setup workflow at a shared service directory without understanding ownership. Preserve logs when the recovery retry fails.

WebUI's manual-key dialog is separate: wait for server verification, enter the existing service key, or initialize a new key twice when explicitly in initialization mode. Empty/mismatched input is rejected. The BAAS key is not a game account password; never publish it or the stored auto-password. Android has its own automatic-auth flow.

First Profile and Device Check

After Home appears, check the selected profile and server. Use the add-profile icon and Profiles for explicit creation/import, naming validation and same-name archive replacement risks. New profiles can have enabled default tasks; inspect them before Start.

For an emulator, configure Server/ADB, Emulator and Script. Confirm the detected serial/instance and a live screenshot of the correct game. PC clients instead use the PC platform path. A desktop preview of another app is not proof of game recognition.

Only then run one supervised, low-risk task whose effects you understand. Verify its logs, recognized page and expected result before adding spending, sweeps or combat. Scheduler Start is not part of installation.

On this page