Skip to content

Commit

Permalink
Update NetP launch agent logic to include build number (#2015)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/1199230911884351/1206277530960782/f

Description:
This PR updates the NetP launch logic to include the build number. Previously it only used the version number to detect if the app had been updated and thus needed to re-install the agent, but now we publish builds with the same version number multiple times and only bump the build number.
  • Loading branch information
samsymons authored Jan 4, 2024
1 parent cc0c3ae commit 38a6982
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ final class NetworkProtectionAppEvents {
}

private func restartNetworkProtectionIfVersionChanged(using loginItemsManager: LoginItemsManager) {
let currentVersion = AppVersion.shared.versionNumber
let currentVersion = AppVersion.shared.versionAndBuildNumber
let versionStore = NetworkProtectionLastVersionRunStore()
defer {
versionStore.lastVersionRun = currentVersion
Expand Down

0 comments on commit 38a6982

Please sign in to comment.