mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-30 02:29:08 +02:00
Allow post install and post user config MDM autostart disablement enforcement
Continuous MDM enforcement — MDM always wins over user/OS state, so a policy pushed AFTER the fresh-install decision still takes effect. If the admin later lifts the policy, autostart stays off until the user re-enables it in Settings (accepted trade-off vs tracking user intent separately).
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/wailsapp/wails/v3/pkg/application"
|
||||
)
|
||||
|
||||
// Autostart facade over Wails' AutostartManager. The OS login-item registration
|
||||
// Autostart facade over Wails' AutostartManager. The OS autostart entry registration
|
||||
// is the single source of truth; nothing is mirrored to preferences.
|
||||
type Autostart struct {
|
||||
mgr *application.AutostartManager
|
||||
|
||||
Reference in New Issue
Block a user