Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

fix(pet): 修正内建鲸鱼女仆的介绍文案 (#919)

Mao Mrc8cca0274361
diff --git a/src-tauri/resources/manifest.jsonc b/src-tauri/resources/manifest.jsonc
index de9be11b..8c623415 100644
--- a/src-tauri/resources/manifest.jsonc
+++ b/src-tauri/resources/manifest.jsonc
@@ -233,7 +233,7 @@
{
"id": "maid-deepseek-whale",
"name": "Maid DeepSeek Whale",
- "desc": "一只小小的七比蓝头发的鲸鱼女仆Codex宠物,穿着海军蓝裙子,白色褶边,蓝眼睛,侧鳍和鲸鱼尾巴。",
+ "desc": "一只小小的迷你蓝头发的鲸鱼女仆,穿着海军蓝裙子,白色褶边,蓝眼睛,侧鳍和鲸鱼尾巴。",
"image": "https://raw.githubusercontent.com/PC2005-cloud/dsh-pet/e1ff8c1e4001878cbb80441262d530e16541f138/dsh-pet/assets/preview/daiji-huxi-xiuxian.gif",
"kind": "dsh",
"size": 220,
diff --git a/test/preset-pet-description.test.ts b/test/preset-pet-description.test.ts
new file mode 100644
index 00000000..26fd7da9
--- /dev/null
+++ b/test/preset-pet-description.test.ts
@@ -0,0 +1,14 @@
+import { readFileSync } from 'node:fs'
+import { describe, expect, it } from 'vitest'
+
+describe('built-in pet descriptions', () => {
+ it('describes Maid DeepSeek Whale with the approved Chinese copy', () => {
+ const source = readFileSync(new URL('../src-tauri/resources/manifest.jsonc', import.meta.url), 'utf8')
+ const manifest = JSON.parse(source.replace(/^\s*\/\/.*$/gm, '')) as {
+ pets: { 'built-in': { id: string, desc?: string }[] }
+ }
+ const pet = manifest.pets['built-in'].find(entry => entry.id === 'maid-deepseek-whale')
+
+ expect(pet?.desc).toBe('一只小小的迷你蓝头发的鲸鱼女仆,穿着海军蓝裙子,白色褶边,蓝眼睛,侧鳍和鲸鱼尾巴。')
+ })
+})