Skip to content

Commit

Permalink
Merge pull request #401 from pro4tlzz/ventura-support
Browse files Browse the repository at this point in the history
add backup path for macOS Ventura installer
  • Loading branch information
erikng committed Sep 8, 2022
2 parents b611599 + 914c91a commit 4e98542
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Nudge/Utilities/Utils.swift
Expand Up @@ -308,6 +308,8 @@ struct Utils {
func getBackupMajorUpgradeAppPath() -> String {
if getMajorRequiredNudgeOSVersion() == 12 {
return "/Applications/Install macOS Monterey.app"
} else if getMajorRequiredNudgeOSVersion() == 13 {
return "/Applications/Install macOS Ventura.app"
} else { // TODO: Update this for next year with another else if
return "/Applications/Install macOS Monterey.app"
}
Expand Down

0 comments on commit 4e98542

Please sign in to comment.