feat: rebrand from Dyad to MoreMinimore

- Update package.json description to reflect new branding
- Add fix_chat_input function to update Pro URL references
- Rename all Dyad-related functions and tags to MoreMinimore
- Update test files to use new function names
- Remove Pro restrictions from Annotator component
- Update branding text throughout the application
This commit is contained in:
Kunthawat Greethong
2025-12-19 17:26:32 +07:00
parent 6bb756fdd7
commit 29248688f3
68 changed files with 544 additions and 1435 deletions

View File

@@ -3,7 +3,7 @@ import log from "electron-log";
import { db } from "../../db";
import { apps } from "../../db/schema";
import { eq } from "drizzle-orm";
import { getDyadAppPath } from "../../paths/paths";
import { getMoreMinimoreAppPath } from "../../paths/paths";
import fs from "node:fs";
import path from "node:path";
import { simpleSpawn } from "../utils/simpleSpawn";
@@ -39,7 +39,7 @@ export function registerCapacitorHandlers() {
"is-capacitor",
async (_, { appId }: { appId: number }): Promise<boolean> => {
const app = await getApp(appId);
const appPath = getDyadAppPath(app.path);
const appPath = getMoreMinimoreAppPath(app.path);
// check for the required Node.js version before running any commands
const currentNodeVersion = process.version;
@@ -62,7 +62,7 @@ export function registerCapacitorHandlers() {
"sync-capacitor",
async (_, { appId }: { appId: number }): Promise<void> => {
const app = await getApp(appId);
const appPath = getDyadAppPath(app.path);
const appPath = getMoreMinimoreAppPath(app.path);
if (!isCapacitorInstalled(appPath)) {
throw new Error("Capacitor is not installed in this app");
@@ -90,7 +90,7 @@ export function registerCapacitorHandlers() {
handle("open-ios", async (_, { appId }: { appId: number }): Promise<void> => {
const app = await getApp(appId);
const appPath = getDyadAppPath(app.path);
const appPath = getMoreMinimoreAppPath(app.path);
if (!isCapacitorInstalled(appPath)) {
throw new Error("Capacitor is not installed in this app");
@@ -114,7 +114,7 @@ export function registerCapacitorHandlers() {
"open-android",
async (_, { appId }: { appId: number }): Promise<void> => {
const app = await getApp(appId);
const appPath = getDyadAppPath(app.path);
const appPath = getMoreMinimoreAppPath(app.path);
if (!isCapacitorInstalled(appPath)) {
throw new Error("Capacitor is not installed in this app");