Skip to content

Commit

Permalink
style: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
ximu3 committed Jan 10, 2025
1 parent 12a0038 commit a189b48
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/utils/tray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,8 @@ export class TrayManager {
}
}

// 导出初始化函数
export async function setupTray(mainWindow: BrowserWindow): Promise<TrayManager> {
return await TrayManager.getInstance(mainWindow)
}

// 导出更新最近游戏的方法
export const updateRecentGames = TrayManager.updateRecentGames

0 comments on commit a189b48

Please sign in to comment.