developer id WIP
This commit is contained in:
parent
2c68a405be
commit
4695791b4d
6 changed files with 253 additions and 37 deletions
18
Apple/NetworkExtension/System-Info.plist
Normal file
18
Apple/NetworkExtension/System-Info.plist
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?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>NSSystemExtensionUsageDescription</key>
|
||||
<string>Needed to install Burrow outside of the App Store</string>
|
||||
<key>NetworkExtension</key>
|
||||
<dict>
|
||||
<key>NEMachServiceName</key>
|
||||
<string>$(APP_GROUP_IDENTIFIER).system-extension</string>
|
||||
<key>NEProviderClasses</key>
|
||||
<dict>
|
||||
<key>com.apple.networkextension.packet-tunnel</key>
|
||||
<string>$(PRODUCT_MODULE_NAME).PacketTunnelProvider</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
11
Apple/NetworkExtension/SystemNetworkExtension.xcconfig
Normal file
11
Apple/NetworkExtension/SystemNetworkExtension.xcconfig
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "../Configuration/Extension.xcconfig"
|
||||
|
||||
PRODUCT_NAME = BurrowSystemNetworkExtension
|
||||
PRODUCT_BUNDLE_IDENTIFIER = $(SYSTEM_NETWORK_EXTENSION_BUNDLE_IDENTIFIER)
|
||||
|
||||
INFOPLIST_FILE = NetworkExtension/System-Info.plist
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks
|
||||
|
||||
CODE_SIGN_ENTITLEMENTS = NetworkExtension/NetworkExtension-macOS.entitlements
|
||||
|
||||
SWIFT_INCLUDE_PATHS = $(inherited) $(PROJECT_DIR)/NetworkExtension
|
||||
8
Apple/NetworkExtension/main.swift
Normal file
8
Apple/NetworkExtension/main.swift
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import Foundation
|
||||
import NetworkExtension
|
||||
|
||||
autoreleasepool {
|
||||
NEProvider.startSystemExtensionMode()
|
||||
}
|
||||
|
||||
dispatchMain()
|
||||
Loading…
Add table
Add a link
Reference in a new issue