Repository navigation
Data and Persistence
DESK keeps user data separate from the application executable.
This is important for both development and packaged releases.
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.
%APPDATA%\DESK
DESK uses:
$XDG_DATA_HOME/DESK
when XDG_DATA_HOME is available.
Otherwise:
~/.local/share/DESK
~/Library/Application Support/DESK
~/.local/share/DESK
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
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.
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.