feat: add release note

This commit is contained in:
kangfenmao 2024-07-15 15:00:19 +08:00
parent e8bdf9d5fd
commit e90ef9d05f
4 changed files with 28 additions and 0 deletions

View File

@ -50,3 +50,8 @@ publish:
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/
afterSign: scripts/notarize.js
releaseInfo:
releaseNotes: |
- 【功能】新增消息暂停发送功能
- 【修复】修复多语言切换不彻底问题
- 【构建】支持 macOS Intel 架构

View File

@ -16,6 +16,7 @@ export default defineConfig({
}
},
plugins: [react()],
assetsInclude: ['**/*.md'],
server: {
host: '0.0.0.0'
}

View File

@ -0,0 +1,7 @@
# Changelog
## 0.2.1 (2024-07-15)
1.【功能】新增消息暂停发送功能
2.【修复】修复多语言切换不彻底问题
3.【构建】支持 macOS Intel 架构

View File

@ -4,6 +4,8 @@ import styled from 'styled-components'
import Logo from '@renderer/assets/images/logo.png'
import { runAsyncFunction } from '@renderer/utils'
import { useTranslation } from 'react-i18next'
import Markdown from 'react-markdown'
import changelogs from '@renderer/CHANGELOG.md?raw'
const AboutSettings: FC = () => {
const [version, setVersion] = useState('')
@ -23,6 +25,9 @@ const AboutSettings: FC = () => {
Cherry Studio <Version>(v{version})</Version>
</Title>
<Description>{t('settings.about.description')}</Description>
<ChangeLog>
<Markdown className="markdown">{changelogs}</Markdown>
</ChangeLog>
</Container>
)
}
@ -55,4 +60,14 @@ const Description = styled.div`
text-align: center;
`
const ChangeLog = styled.div`
font-size: 14px;
color: var(--color-text-2);
background-color: var(--color-background-soft);
margin-top: 40px;
padding: 20px;
border-radius: 5px;
width: 800px;
`
export default AboutSettings