Skip to content

Commit

Permalink
feat: 增加打开TuneLab文件夹功能
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuYunPlayer committed Feb 7, 2025
1 parent 3aabc60 commit d91e451
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions TuneLab/Resources/Translations/zh-CN.toml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@

"TuneLab Forum" = "TuneLab 社区"
"TuneLab GitHub" = "TuneLab 项目仓库"
"Open TuneLab Folder" = "打开 TuneLab 文件夹"

"Empty" = ""
"Check for Updates..." = "检查更新..."
4 changes: 4 additions & 0 deletions TuneLab/UI/MainWindow/Editor/Editor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,10 @@ Menu CreateMenu()
var menuItem = new MenuItem().SetTrName("TuneLab GitHub").SetAction(() => ProcessHelper.OpenUrl("https://github.com/LiuYunPlayer/TuneLab"));
menuBarItem.Items.Add(menuItem);
}
{
var menuItem = new MenuItem().SetTrName("Open TuneLab Folder").SetAction(() => ProcessHelper.OpenUrl(PathManager.TuneLabFolder));
menuBarItem.Items.Add(menuItem);
}
{
var menuItem = new MenuItem().SetTrName("Check for Updates...").SetAction(() => CheckUpdate(false));
menuBarItem.Items.Add(menuItem);
Expand Down

0 comments on commit d91e451

Please sign in to comment.