Closed tktcorporation closed 6 months ago
この変更は、Electronアプリケーションにおけるウィンドウ管理の改善に焦点を当てています。主なウィンドウの追跡、ウィンドウの取得や作成のための関数の導入、イベントハンドラーの更新、およびトレイ設定のロジックの変更が含まれます。
ファイル | 変更の概要 |
---|---|
electron/electronUtil.ts |
- createWindow のリファクタリング- mainWindow 変数の導入- getWindow 関数の追加- イベントハンドラーの更新 - setTray の変更 |
electron/index.ts |
- setTray の呼び出しの引数削除 |
🐰✨📝
ウィンドウ、輝く星のよう
ひとつ、またひとつと
管理され、生まれ変わる
トレイの下、新たな道
コードのうさぎ、跳ねる喜びを歌う
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
createWindow
をリファクタリングしました。mainWindow
変数を導入しました。getWindow
関数を追加しました。setTray
をcreateOrGetWindow
を使用するように変更しました。