Skip to content

Data and Persistence

Saksham Garg edited this page Oct 4, 2026 · 1 revision

Data & Persistence

DESK keeps user data separate from the application executable.

This is important for both development and packaged releases.

Why Separate User Data?

Packaged applications can be replaced when a new version is installed.

If application data were stored beside the executable, an update could potentially overwrite or lose that data.

DESK therefore stores persistent user data in an operating-system-specific application-data directory.

Storage Locations

Windows

%APPDATA%\DESK

Linux

DESK uses:

$XDG_DATA_HOME/DESK

when XDG_DATA_HOME is available.

Otherwise:

~/.local/share/DESK

macOS

~/Library/Application Support/DESK

Other Unix Systems

~/.local/share/DESK

What Is Stored?

Depending on the features being used, DESK's persistent data can include things such as:

  • Conversation history
  • Memory
  • Workspace data
  • Configuration
  • Application-specific persistent state

Development Builds

Running DESK during development does not require the repository itself to become the permanent storage location for user data.

This keeps development files and user data separate.

Packaged Builds

The same principle applies to packaged versions of DESK.

The executable can be replaced or rebuilt without intentionally placing user data inside the application bundle.

Clone this wiki locally