Files
Rafał Cieślak 633ba38736 Add launch daemon plist for VNet (#43746)
* Detect VNet daemon feature flag and signing status

* Register daemon plist

* Wait for enablement of login item

* Add dev docs on how to work with launch daemons

* Run code through autoformatter

https://formatter.org/objc-formatter
https://google.github.io/styleguide/objcguide.html#spacing-and-formatting

Coding Style: Google
Indent Width: 2
Column Limit: 100

* Remove unnecessary darwin build tags

* Decide to use launch daemon at build time

* Address minor feedback

* Show a message when waiting for bg item to be enabled

* Correctly resolve bundle path if executable is symlinked

mainBundle of NSBundle would not resolve symlinks, resulting in a wrong
bundle information when tsh was symlinked to /usr/local/bin/tsh by tsh.pkg.

* Run tests for untagged vnetdaemon code

* Add includes for standard library headers

* Format plists in Xcode

* Use explicit values for serviceStatus

* Revert changes to lib/utils.NormalizePath
2024-07-08 14:22:02 +00:00

741 B