Expand description
Toolblox native host.
Toolblox is a Tauri 2 desktop app for managing and launching Roblox accounts. This crate owns everything that touches secrets, the network, the file system, or other processes. The React interface receives display data and opaque IDs only.
Β§Modules
app_commands: the Tauri commands the interface calls, and the sharedRuntime.startupandupdate: the fail-closed update gate that runs before the app opens.storageandmodels: validated, atomic JSON persistence for settings and accounts.credentials: Roblox sessions in Windows Credential Manager or the macOS Keychain.login: the isolated Roblox sign-in window.roblox: Roblox web APIs for profiles, presence, games, and join tickets.auto_rejoin: presence monitoring for drop notifications and auto-rejoin.multi_instance: running several Roblox clients on Windows and macOS.roblox_process: running Roblox client processes.lifecycle: window, tray, and single-instance behavior.logs: the rotating, redacted log file.widgets,widget_protocol,widget_ipc, andwidget_process: signed widget packages, their assets, permission-checked messages, and sidecar processes.
Β§Data
Data lives in the Toolblox data folder: %LOCALAPPDATA%\Toolblox on Windows and
~/Library/Application Support/Toolblox on macOS.
ModulesΒ§
- app_
commands π - Tauri command boundary and frontend-safe application state.
- auto_
rejoin π - Conservative presence monitor for opt-in auto-rejoin and drop notifications.
- credentials π
- OS-backed Roblox session storage. Secrets stay inside the Rust host.
- lifecycle π
- Window, tray, single-instance, and autostart lifecycle helpers.
- login π
- Isolated Roblox login webview and secret handoff.
- logs π
- Rotating, redacted log file shared by the host, the interface, and widgets.
- models π
- Typed persisted data and frontend-safe account views.
- multi_
instance π - Running several Roblox clients at once.
- roblox π
- Roblox HTTP flows and strict launch-URI construction.
- roblox_
process π - Running Roblox clients.
- startup π
- Fail-closed release update gate shown before the main application state loads.
- storage π
- Validated, atomic JSON persistence serialized by one application state.
- theme π
- The custom theme, which is custom CSS. Itβs applied after the theme tokens in
src/theme.css, so a theme changes colors and radii by setting those tokens. - update π
- Fail-closed startup update decisions.
- widget_
ipc π - Versioned, permission-checked messages exchanged with isolated widget frames.
- widget_
process π - Lifecycle ownership for declared widget sidecar processes.
- widget_
protocol π - Read-only custom protocol for installed widget web assets.
- widgets π
- Permissioned widget manifests, signed catalogue data, and safe package installation.
ConstantsΒ§
- SAFE_
MODE_ πMARKER - Name of the marker file that requests safe mode for the next launch.
FunctionsΒ§
- move_
beta_ πdata - Moves data that 0.2.0 beta saved in a
v2subfolder into the data folder. - run
- Builds and runs the Tauri application.
- set_
safe_ mode_ marker - Records whether the next launch skips widgets. Failures only lose the one-time request.
- take_
safe_ πmode - Safe mode applies for this launch when requested with
--safe-modeor by the marker, which is consumed so the following launch loads widgets again. - toolblox_
data_ πroot - Returns the Toolblox data folder.