Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: no longer delete prod db on local env cleanup

Gabriel Steinf08c999bd951
diff --git a/cleanup.js b/cleanup.js
index d69f04864..804db156f 100644
--- a/cleanup.js
+++ b/cleanup.js
@@ -27,7 +27,6 @@ try {
: path.join(os.homedir(), ".config", "open-wispr");
const devDbPath = path.join(userDataPath, "transcriptions-dev.db");
- const prodDbPath = path.join(userDataPath, "transcriptions.db");
// Clean development database
if (fs.existsSync(devDbPath)) {
@@ -36,14 +35,6 @@ try {
} else {
console.log("ℹ️ No development database found to clean");
}
-
- // Clean production database
- if (fs.existsSync(prodDbPath)) {
- fs.unlinkSync(prodDbPath);
- console.log(`✅ Production database cleaned: ${prodDbPath}`);
- } else {
- console.log("ℹ️ No production database found to clean");
- }
} catch (error) {
console.error("❌ Error cleaning database files:", error.message);
}