import { useState } from 'react'; import { invoke } from '@tauri-apps/api'; import { Tabs, Tag } from 'antd'; import { GITHUB_LOG_URL } from '@/utils'; import useInit from '@/hooks/useInit'; import Markdown from '@/components/Markdown'; import './index.scss'; export default function About() { const [logContent, setLogContent] = useState(''); useInit(async () => { const data = (await invoke('get_data', { url: GITHUB_LOG_URL })) || ''; setLogContent(data as string); }); return (
}, { label: 'Update Log', key: 'log', children: }, ]} />
); } const AboutChatGPT = () => { return (
ChatGPT Desktop Application (Mac, Windows and Linux)

🕒 History versions:{' '} lencx/ChatGPT/releases

It is just a wrapper for the {' '} OpenAI ChatGPT{' '} website, no other data transfer exists (you can check the{' '} {' '} source code{' '} ). The development and maintenance of this software has taken up a lot of my time. If it helps you, you can buy me a cup of coffee (Chinese users can use WeChat to scan the code), thanks!

Buy Me A Coffee {' '}

); }; const LogTab = ({ content }: { content: string }) => { return (

Ref:{' '} lencx/ChatGPT/UPDATE_LOG.md

); };