From 06e178762d78146c127f6e86767c57e3c67bd6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=93=D0=BB=D0=B0=D0=B7=D1=83?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2?= Date: Fri, 16 Jan 2026 01:16:43 +0300 Subject: [PATCH] Rename project from "Cheating Daddy" to "Mastermind" across all files, update version to 0.6.0, and implement migration functionality for users with existing configurations. Enhance onboarding experience with migration options and update relevant documentation. --- forge.config.js | 16 +-- package.json | 18 +-- src/audioUtils.js | 2 +- src/components/app/AppHeader.js | 16 +-- .../{CheatingDaddyApp.js => MastermindApp.js} | 30 ++--- src/components/index.js | 2 +- src/components/views/AssistantView.js | 10 +- src/components/views/CustomizeView.js | 58 ++++----- src/components/views/HelpView.js | 12 +- src/components/views/HistoryView.js | 4 +- src/components/views/MainView.js | 10 +- src/components/views/OnboardingView.js | 118 ++++++++++++++++-- src/index.html | 7 +- src/index.js | 20 +++ src/storage.js | 57 +++++++++ src/utils/renderer.js | 65 ++++++---- src/utils/window.js | 6 +- 17 files changed, 318 insertions(+), 133 deletions(-) rename src/components/app/{CheatingDaddyApp.js => MastermindApp.js} (95%) diff --git a/forge.config.js b/forge.config.js index 9fcfa99..8b7281b 100644 --- a/forge.config.js +++ b/forge.config.js @@ -7,7 +7,7 @@ module.exports = { packagerConfig: { asar: true, extraResource: ['./src/assets/SystemAudioDump'], - name: 'Cheating Daddy', + name: 'Mastermind', icon: 'src/assets/logo', // Fix executable permissions after packaging afterCopy: [ @@ -51,9 +51,9 @@ module.exports = { { name: '@electron-forge/maker-squirrel', config: { - name: 'cheating-daddy', - productName: 'Cheating Daddy', - shortcutName: 'Cheating Daddy', + name: 'mastermind', + productName: 'Mastermind', + shortcutName: 'Mastermind', createDesktopShortcut: true, createStartMenuShortcut: true, }, @@ -62,7 +62,7 @@ module.exports = { name: '@electron-forge/maker-dmg', platforms: ['darwin'], config: { - name: 'CheatingDaddy', + name: 'Mastermind', format: 'ULFO', }, }, @@ -71,10 +71,10 @@ module.exports = { platforms: ['linux'], config: { options: { - name: 'Cheating Daddy', - productName: 'Cheating Daddy', + name: 'Mastermind', + productName: 'Mastermind', genericName: 'AI Assistant', - description: 'AI assistant for interviews and learning', + description: 'AI assistant for video calls, interviews, presentations, and meetings', categories: ['Development', 'Education'], icon: 'src/assets/logo.png', }, diff --git a/package.json b/package.json index 52fd56b..a1738d9 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "cheating-daddy", - "productName": "cheating-daddy", - "version": "0.5.11", - "description": "cheating daddy", + "name": "mastermind", + "productName": "mastermind", + "version": "0.6.0", + "description": "Mastermind", "main": "src/index.js", "scripts": { "start": "electron-forge start", @@ -12,11 +12,11 @@ "lint": "echo \"No linting configured\"" }, "keywords": [ - "cheating daddy", - "cheating daddy ai", - "cheating daddy ai assistant", - "cheating daddy ai assistant for interviews", - "cheating daddy ai assistant for interviews" + "mastermind", + "mastermind ai", + "mastermind ai assistant", + "mastermind ai assistant for interviews", + "mastermind ai assistant for interviews" ], "author": { "name": "ShiftyX1", diff --git a/src/audioUtils.js b/src/audioUtils.js index 40602c6..a9535e8 100644 --- a/src/audioUtils.js +++ b/src/audioUtils.js @@ -86,7 +86,7 @@ function analyzeAudioBuffer(buffer, label = 'Audio') { // Save audio buffer with metadata for debugging function saveDebugAudio(buffer, type, timestamp = Date.now()) { const homeDir = require('os').homedir(); - const debugDir = path.join(homeDir, 'cheating-daddy-debug'); + const debugDir = path.join(homeDir, 'mastermind-debug'); if (!fs.existsSync(debugDir)) { fs.mkdirSync(debugDir, { recursive: true }); diff --git a/src/components/app/AppHeader.js b/src/components/app/AppHeader.js index d563d2a..2b3f329 100644 --- a/src/components/app/AppHeader.js +++ b/src/components/app/AppHeader.js @@ -314,8 +314,8 @@ export class AppHeader extends LitElement { async _checkForUpdates() { try { - const currentVersion = await cheatingDaddy.getVersion(); - const response = await fetch('https://raw.githubusercontent.com/sohzm/cheating-daddy/refs/heads/master/package.json'); + const currentVersion = await mastermind.getVersion(); + const response = await fetch('https://raw.githubusercontent.com/ShiftyX1/Mastermind/refs/heads/master/package.json'); if (!response.ok) return; const remotePackage = await response.json(); @@ -344,7 +344,7 @@ export class AppHeader extends LitElement { async _openUpdatePage() { const { ipcRenderer } = require('electron'); - await ipcRenderer.invoke('open-external', 'https://cheatingdaddy.com'); + await ipcRenderer.invoke('open-external', 'https://github.com/ShiftyX1/Mastermind'); } disconnectedCallback() { @@ -396,15 +396,15 @@ export class AppHeader extends LitElement { getViewTitle() { const titles = { - onboarding: 'Welcome to Cheating Daddy', - main: 'Cheating Daddy', + onboarding: 'Welcome to Mastermind', + main: 'Mastermind', customize: 'Customize', help: 'Help & Shortcuts', history: 'Conversation History', advanced: 'Advanced Tools', - assistant: 'Cheating Daddy', + assistant: 'Mastermind', }; - return titles[this.currentView] || 'Cheating Daddy'; + return titles[this.currentView] || 'Mastermind'; } getElapsedTime() { @@ -539,7 +539,7 @@ export class AppHeader extends LitElement { ${this.currentView === 'assistant' ? html` + + + ` + : ''}