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.migration: one-time import from the legacy Flet app.lifecycle: window, tray, and single-instance behavior.widgets,widget_protocol,widget_ipc, andwidget_process: signed widget packages, their assets, permission-checked messages, and sidecar processes.
ยงData
Current data lives in the v2 folder inside 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.
- migration ๐
- One-way import of legacy Flet JSON and OS-protected sessions.
- models ๐
- Typed persisted data and frontend-safe account views.
- multi_
instance ๐ - Best-effort Windows Roblox singleton cleanup using the bundled audited helper.
- roblox ๐
- Roblox HTTP flows and strict launch-URI construction.
- startup ๐
- Fail-closed release update gate shown before the main application state loads.
- storage ๐
- Validated, atomic JSON persistence serialized by one application state.
- 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ยง
- 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.
- start_
widgets_ ๐on_ launch - Starts the processes of widgets marked to start on launch, unless safe mode is active.
- 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 legacy Toolblox data folder, whose
v2subfolder holds current data.