Skip to content

Commit

Permalink
Merge branch 'dev' into fix-multi-screen-previous-position-2
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng authored Feb 28, 2025
2 parents 5c431aa + 6939f50 commit 09c6e17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Easydict/Swift/View/MenuView/MainMenuCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ struct EasydictMainMenu: Commands {
Text("menubar.about")
}
}

// Check for updates
CommandGroup(after: .appInfo, addition: {
Button {
Configuration.shared.updater.checkForUpdates()
} label: {
Text("check_updates")
}
})
}

// MARK: Private
Expand Down
2 changes: 1 addition & 1 deletion Easydict/Swift/View/Window/HostWindowManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ extension HostWindowManager {

/// Show the About window.
func showAboutWindow() {
showWindow(windowId: .aboutWindowId, width: 500, height: 220, resizable: false) {
showWindow(windowId: .aboutWindowId, width: 600, height: 220, resizable: false) {
AboutTab()
}
}
Expand Down

0 comments on commit 09c6e17

Please sign in to comment.