Skip to content

Commit

Permalink
feat: 添加一些windows上的进程名称 (#276)
Browse files Browse the repository at this point in the history
* feat: 添加一些windows上的进程名称

* fix: 'Explorer.EXE' appears sometimes

* fix: subfix of office kits are big letter
  • Loading branch information
ChingCdesu authored Feb 6, 2024
1 parent d87b882 commit 8d39b48
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/layout/header/internal/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const appDescription = {
umamusume: '启动!',
WindowsTerminal: 'del /f /s /q c:/ (不是',
卡拉彼丘: '启动!',
'Yuanshen.exe': '启动!',
Yuanshen: '启动!',
} as any
const appLabels: { [app: string]: string } = {
'Activity Monitor': 'activity',
Expand Down Expand Up @@ -130,12 +130,19 @@ const appLabels: { [app: string]: string } = {
cmusic: 'cmusic',

'Microsoft Edge': 'edge',
msedge: 'edge',
firefox: 'firefox',
idea64: 'idea',
'Explorer.EXE': 'windows_explorer',
explorer: 'windows_explorer',
WindowsTerminal: 'windows_terminal',
卡拉彼丘: 'calatopia',
'Yuanshen.exe': 'genshin',
Yuanshen: 'genshin',
chrome: 'chrome',
'WINWORD.EXE': 'word',
'EXCEL.EXE': 'excel',
'POWERPNT.EXE': 'powerpoint',
'ONENOTE.EXE': 'onenote',
}
// autocorrect: true
export const Activity = memo(() => {
Expand Down

0 comments on commit 8d39b48

Please sign in to comment.