Skip to content

Commit fa2345b

Browse files
committed
feat: rename production
1 parent 3fefe0a commit fa2345b

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

app/(connect-mode)/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function Home() {
1919
return (
2020
<AppFrame title="基础系统部署" current="connect-mode">
2121
<AppCardHeader>
22-
<AppCardTitle>欢迎使用 ModelMachine 一体机部署工具</AppCardTitle>
22+
<AppCardTitle>欢迎使用 LLMOne 一体机部署工具</AppCardTitle>
2323
<AppCardDescription>仅需 10 步,助您快速完成 DeepSeek 一体机从开箱到使用全流程</AppCardDescription>
2424
</AppCardHeader>
2525
<AppCardContent>

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const geistMono = localFont({
2727
})
2828

2929
export const metadata: Metadata = {
30-
title: 'ModelMachine',
30+
title: 'LLMOne',
3131
description: '大模型一体机装机工具',
3232
}
3333

components/app/app-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Separator } from '@/components/ui/separator'
66
export function AppHeader({ children }: { children?: ReactNode }) {
77
return (
88
<header className="flex h-12 shrink-0 items-center gap-3 border-b px-6">
9-
<div className="text-base font-medium">ModelMachine</div>
9+
<div className="text-base font-medium">LLMOne</div>
1010
<Separator className="!h-4" orientation="vertical" />
1111
<h1 className="text-base font-normal">{children}</h1>
1212
<SyncIndicator className="ml-auto" />

electron/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ process.on('uncaughtException', (e) => {
5959
return
6060
}
6161

62-
const title = 'ModelMachine 发生了意外错误'
62+
const title = 'LLMOne 发生了意外错误'
6363
const stack = e.stack ?? `${e.name}:${e.message}`
6464
if (app.isReady()) {
6565
const buttons = ['关闭', '重新打开', '复制错误信息']
@@ -85,7 +85,7 @@ process.on('uncaughtException', (e) => {
8585
})
8686

8787
if (!singletonLock) {
88-
console.warn('Another instance of ModelMachine is running. Exiting...')
88+
console.warn('Another instance of LLMOne is running. Exiting...')
8989
app.quit()
9090
} else {
9191
app.on('second-instance', () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "model-machine",
3-
"description": "Model Machine - 大模型一体机部署工具",
3+
"description": "LLMOne - 大模型一体机部署工具",
44
"version": "0.5.0",
55
"private": true,
66
"author": {

scripts/build-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function afterPack(context: AfterPackContext): Promise<void> {
2323
*/
2424
const config: Configuration = {
2525
appId: 'com.geek-tech.model-machine',
26-
productName: 'ModelMachine',
26+
productName: 'LLMOne',
2727
asar: true,
2828
directories: {
2929
output: 'release',

trpc/router/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export const modelRouter = createRouter({
365365
try {
366366
const apiKey = await fetch(`http://${matchedAddr}:${port}/api/admin/apiKey`, {
367367
method: 'POST',
368-
body: JSON.stringify({ comment: 'ModelMachine 自动创建' }),
368+
body: JSON.stringify({ comment: 'LLMOne 自动创建' }),
369369
headers: { Authorization: `Bearer ${adminKey}`, 'Content-Type': 'application/json' },
370370
})
371371
.then((res): Promise<{ key: string }> => res.json())

0 commit comments

Comments
 (0)