mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-08 09:49:54 +00:00
[client/ui-wails] Hide Dock entry on macOS via LSUIElement
The legacy Fyne client and the sign-pipelines-built .pkg both run NetBird in macOS Accessory mode (LSUIElement=1) — tray-only, no Dock entry, no Cmd-Tab presence. The Wails build's bundled Info.plist (used by `task darwin:package` for local development) didn't carry the flag, so the .app bundle a developer builds locally diverged from the signed release. Add LSUIElement to both Info.plist and Info.dev.plist so the local dev flow matches what users see.
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
<string>10.15.0</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<string>true</string>
|
||||
<key>LSUIElement</key>
|
||||
<string>1</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>© 2026, My Company</string>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
<string>10.15.0</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<string>true</string>
|
||||
<!-- Accessory mode: tray-only app, no Dock entry, no Cmd-Tab
|
||||
presence. Matches the legacy Fyne client and the sign-pipelines
|
||||
Info.plist used in signed .pkg releases. -->
|
||||
<key>LSUIElement</key>
|
||||
<string>1</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>© 2026, My Company</string>
|
||||
</dict>
|
||||
|
||||
Reference in New Issue
Block a user