feat: add you.com miniapp

This commit is contained in:
shiquda 2025-03-02 14:22:38 +08:00 committed by 亢奋猫
parent 1fe74fa753
commit df04503674
3 changed files with 16 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -37,6 +37,7 @@ import TiangongAiLogo from '@renderer/assets/images/apps/tiangong.png?url'
import WanZhiAppLogo from '@renderer/assets/images/apps/wanzhi.jpg?url'
import WPSLingXiLogo from '@renderer/assets/images/apps/wpslingxi.webp?url'
import XiaoYiAppLogo from '@renderer/assets/images/apps/xiaoyi.webp?url'
import YouLogo from '@renderer/assets/images/apps/you.jpg?url'
import TencentYuanbaoAppLogo from '@renderer/assets/images/apps/yuanbao.webp?url'
import YuewenAppLogo from '@renderer/assets/images/apps/yuewen.png?url'
import ClaudeAppLogo from '@renderer/assets/images/models/claude.png?url'
@ -371,6 +372,12 @@ export const DEFAULT_MIN_APPS: MinAppType[] = [
logo: MonicaLogo,
url: 'https://monica.im/home/',
bodered: true
},
{
id: 'you',
name: 'You',
logo: YouLogo,
url: 'https://you.com/'
}
]

View File

@ -1191,6 +1191,15 @@ const migrateConfig = {
enabled: false
})
return state
},
'75': (state: RootState) => {
if (state.minapps) {
const you = DEFAULT_MIN_APPS.find((app) => app.id === 'you')
if (you) {
state.minapps.enabled.push(you)
}
}
return state
}
}