Add NWBrowser and NWConnection code.

TODO: Refactor all of this stuff better
This commit is contained in:
Madeline
2023-02-08 20:19:23 -05:00
parent dd4324e395
commit 5f429b8cb4
9 changed files with 293 additions and 148 deletions

25
KlipperMon/Info.plist Normal file
View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSBonjourServices</key>
<array>
<string>_http._tcp.</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleURLName</key>
<string>soyuz</string>
<key>CFBundleURLSchemes</key>
<array>
<string>soyuz</string>
</array>
</dict>
</array>
<key>NSServices</key>
<array/>
</dict>
</plist>