Replace all instances of the legacy product names "Kon" and "Corbie" with "Magnotia" across user-facing copy, code identifiers, package names, bundle ids, file paths, and documentation. Preserves the unrelated "konsole" (KDE terminal) reference and the parent CORBEL company name. - Renames 10 Rust crates (kon-* → magnotia-*) and the tauri binary - Updates package.json, tauri.conf.json (productName + identifier) - Renames CSS classes (kon-rh-* → magnotia-rh-*) and animations - Renames brand and roadmap docs - Regenerates Cargo.lock and package-lock.json Verified: svelte-check passes; pure-rust crates compile under new names.
29 lines
903 B
Rust
29 lines
903 B
Rust
use std::path::PathBuf;
|
|
|
|
pub fn app_data_dir() -> PathBuf {
|
|
magnotia_core::paths::app_paths().app_data_dir()
|
|
}
|
|
|
|
/// Path to the SQLite database file.
|
|
pub fn database_path() -> PathBuf {
|
|
magnotia_core::paths::app_paths().database_path()
|
|
}
|
|
|
|
/// Directory for saved audio recordings.
|
|
pub fn recordings_dir() -> PathBuf {
|
|
magnotia_core::paths::app_paths().recordings_dir()
|
|
}
|
|
|
|
/// Directory for crash dumps written by the Rust panic hook.
|
|
/// Each crash is a single text file: `<unix-ts>-<short-id>.crash`.
|
|
/// Used by the diagnostic-report bundler in Settings → About.
|
|
pub fn crashes_dir() -> PathBuf {
|
|
magnotia_core::paths::app_paths().crashes_dir()
|
|
}
|
|
|
|
/// Directory for the rolling Rust log file (magnotia.log + rotated magnotia.log.1, etc).
|
|
/// Subscribers configured in src-tauri/src/lib.rs at startup.
|
|
pub fn logs_dir() -> PathBuf {
|
|
magnotia_core::paths::app_paths().logs_dir()
|
|
}
|