[PR #6766] [client] Preserve macOS UI quit state across updates #28936

Open
opened 2026-08-05 08:07:10 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/6766
Author: @CoderSufiyan
Created: 7/14/2026
Status: 🔄 Open

Base: mainHead: fix/issue-6023-macos-quit


📝 Commits (1)

  • ef3fad5 [client] Preserve macOS UI quit state across updates

📊 Changes

1 file changed (+15 additions, -4 deletions)

View changed files

📝 client/internal/updater/installer/installer_run_darwin.go (+15 -4)

📄 Description

Describe your changes

The macOS updater now preserves the user’s UI quit state across updates. It records whether netbird-ui was running before installation and only restarts it afterward when appropriate.

Fixes #6023

Stack

  • This PR is independent

Checklist

  • I have performed a self-review of my own code
  • I have tested the changes locally
  • I have added or updated tests where applicable
  • I have checked for breaking changes

Documentation

  • Documentation is not needed

Validation

  • go test ./client/internal/updater/installer

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/6766 **Author:** [@CoderSufiyan](https://github.com/CoderSufiyan) **Created:** 7/14/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/issue-6023-macos-quit` --- ### 📝 Commits (1) - [`ef3fad5`](https://github.com/netbirdio/netbird/commit/ef3fad5d11e95042f4e2ea6722a91a186af36c9a) [client] Preserve macOS UI quit state across updates ### 📊 Changes **1 file changed** (+15 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/updater/installer/installer_run_darwin.go` (+15 -4) </details> ### 📄 Description ## Describe your changes The macOS updater now preserves the user’s UI quit state across updates. It records whether `netbird-ui` was running before installation and only restarts it afterward when appropriate. ## Issue ticket number and link Fixes #6023 ## Stack - [x] This PR is independent ## Checklist - [x] I have performed a self-review of my own code - [x] I have tested the changes locally - [x] I have added or updated tests where applicable - [x] I have checked for breaking changes ## Documentation - [x] Documentation is **not needed** ## Validation - `go test ./client/internal/updater/installer` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 08:07:10 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#28936