mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 10:02:04 +08:00
refactor: rename db
This commit is contained in:
@@ -89,6 +89,13 @@ const BRANDING_REPLACEMENTS: BrandingReplacement[] = [
|
||||
description: "upgrade command",
|
||||
},
|
||||
|
||||
// Database filename
|
||||
{
|
||||
pattern: /opencode\.db/g,
|
||||
replacement: "kilo.db",
|
||||
description: "Database filename",
|
||||
},
|
||||
|
||||
// Generic product name replacement (must come after specific patterns)
|
||||
// Only replace "OpenCode" when it's a standalone word
|
||||
{
|
||||
|
||||
@@ -109,6 +109,12 @@ const TAURI_REPLACEMENTS: TauriReplacement[] = [
|
||||
},
|
||||
|
||||
// Rust source specific
|
||||
{
|
||||
pattern: /opencode\.db/g,
|
||||
replacement: "kilo.db",
|
||||
description: "Database filename",
|
||||
fileTypes: [".rs"],
|
||||
},
|
||||
{
|
||||
pattern: /opencode\.settings\.dat/g,
|
||||
replacement: "kilo.settings.dat",
|
||||
|
||||
Reference in New Issue
Block a user