@mcesystems/apple-kit 1.0.73 → 1.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +258 -258
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +2 -1
- package/dist/resources/plist/certificate-trust.xml +43 -43
- package/dist/resources/plist/wifi-enterprise.xml +59 -59
- package/dist/resources/plist/wifi-standard.xml +50 -50
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/scripts/README.md +209 -209
- package/scripts/build-windows.sh.template +222 -222
- package/dist/resources/plist/ddm-managed-app.xml +0 -55
- package/dist/types/graphql/queries.d.ts +0 -9
- package/dist/types/graphql/queries.d.ts.map +0 -1
- package/dist/types/logic/actions/activation.d.ts +0 -12
- package/dist/types/logic/actions/activation.d.ts.map +0 -1
- package/dist/types/logic/actions/appState.d.ts +0 -2
- package/dist/types/logic/actions/appState.d.ts.map +0 -1
- package/dist/types/logic/actions/usbmuxd.d.ts +0 -10
- package/dist/types/logic/actions/usbmuxd.d.ts.map +0 -1
- package/dist/types/types/auth.d.ts +0 -13
- package/dist/types/types/auth.d.ts.map +0 -1
- package/dist/types/types/install.d.ts +0 -13
- package/dist/types/types/install.d.ts.map +0 -1
- package/dist/types/types/mdm.d.ts +0 -33
- package/dist/types/types/mdm.d.ts.map +0 -1
- package/dist/types/types.d.ts +0 -173
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/utils/authClient.d.ts +0 -7
- package/dist/types/utils/authClient.d.ts.map +0 -1
- package/dist/types/utils/ddmDeclaration.d.ts +0 -8
- package/dist/types/utils/ddmDeclaration.d.ts.map +0 -1
- package/dist/types/utils/debug.d.ts +0 -17
- package/dist/types/utils/debug.d.ts.map +0 -1
- package/dist/types/utils/installRawProfileRetry.d.ts +0 -7
- package/dist/types/utils/installRawProfileRetry.d.ts.map +0 -1
- package/dist/types/utils/mdmClient.d.ts +0 -7
- package/dist/types/utils/mdmClient.d.ts.map +0 -1
- package/dist/types/utils/trustProfile.d.ts +0 -12
- package/dist/types/utils/trustProfile.d.ts.map +0 -1
- package/resources/ios.exe +0 -0
- package/resources/wintun-LICENSE.txt +0 -84
- package/resources/wintun.dll +0 -0
package/dist/types/types.d.ts
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Device list entry returned by native listDevices
|
|
3
|
-
*/
|
|
4
|
-
export interface DeviceListEntry {
|
|
5
|
-
/**
|
|
6
|
-
* Device UDID (Unique Device Identifier)
|
|
7
|
-
*/
|
|
8
|
-
udid: string;
|
|
9
|
-
/**
|
|
10
|
-
* Connection type
|
|
11
|
-
* 1 = USB
|
|
12
|
-
* 2 = Network/WiFi
|
|
13
|
-
*/
|
|
14
|
-
connectionType: number;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Installed application info
|
|
18
|
-
*/
|
|
19
|
-
export interface AppInfo {
|
|
20
|
-
/**
|
|
21
|
-
* Bundle identifier (e.g., "com.example.app")
|
|
22
|
-
*/
|
|
23
|
-
bundleId: string;
|
|
24
|
-
/**
|
|
25
|
-
* Display name shown to user
|
|
26
|
-
*/
|
|
27
|
-
displayName: string;
|
|
28
|
-
/**
|
|
29
|
-
* App version (CFBundleShortVersionString)
|
|
30
|
-
*/
|
|
31
|
-
version: string;
|
|
32
|
-
/**
|
|
33
|
-
* Bundle version (CFBundleVersion)
|
|
34
|
-
*/
|
|
35
|
-
bundleVersion: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Configuration for the devices monitor
|
|
39
|
-
*/
|
|
40
|
-
export interface AppleListenerConfig {
|
|
41
|
-
/**
|
|
42
|
-
* Map physical port locations to logical port numbers
|
|
43
|
-
*
|
|
44
|
-
* Key: Location info string (e.g., "Port_#0005.Hub_#0002")
|
|
45
|
-
* Value: Logical port number (e.g., 1, 2, 3)
|
|
46
|
-
*/
|
|
47
|
-
logicalPortMap?: Record<string, number>;
|
|
48
|
-
/**
|
|
49
|
-
* Whether to identify already connected devices on start
|
|
50
|
-
*/
|
|
51
|
-
identifyAlreadyConnected?: boolean;
|
|
52
|
-
}
|
|
53
|
-
export type AppleToolType = "ideviceinfo" | "idevice_id" | "ideviceinstaller" | "idevicepair" | "idevicename" | "idevicedebug" | "iproxy" | "ideviceactivation";
|
|
54
|
-
/**
|
|
55
|
-
* Port forwarding result
|
|
56
|
-
*/
|
|
57
|
-
export interface PortForwardResult {
|
|
58
|
-
/** The local port being forwarded */
|
|
59
|
-
localPort: number;
|
|
60
|
-
/** The device port being forwarded to */
|
|
61
|
-
devicePort: number;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Activation state
|
|
65
|
-
*/
|
|
66
|
-
export interface ActivationState {
|
|
67
|
-
isActivated: boolean;
|
|
68
|
-
activationState: string;
|
|
69
|
-
}
|
|
70
|
-
export type SkipStep = "Language" | "Region" | "Setup" | "SetUp" | "DisplayTone" | "Privacy" | "Android" | "HomeButtonSensitivity" | "OnBoarding" | "Passcode" | "Registration" | "Restore" | "AppleID" | "Safety" | "ScreenSaver" | "TOS" | "RestoreCompleted" | "Biometric" | "Payment" | "Zoom" | "Siri" | "Diagnostics" | "FileVault" | "iCloudDiagnostics" | "trackingCurrent" | "AppStore" | "AccessibilityAppearance" | "Appearance" | "iMessageAndFaceTime" | "Accessibility" | "ScreenTime" | "ActionButton" | "Keyboard" | "EnableLockdownMode" | "TermsOfAddress" | "TapToSetup" | "SpokenLanguage" | "MessagingActivationUsingPhoneNumber" | "iCloudStorage" | "TVProviderSignIn" | "TVHomeScreenSync" | "TVRoom" | "UpdateCompleted" | "WatchMigration" | "WebContentFiltering" | "Wallpaper" | "SoftwareUpdate" | "Intelligence" | "CameraButton" | "Welcome" | "SIMSetup" | "Location" | "SetupAssistant" | "HomeKit" | "CarrierActivation" | "Cellular" | "Cellular-Setup" | "SIMSetup" | "skip-sim-setup" | "skip-cellular-setup" | "CellularSetup" | "AppStoreRestore" | "AppStoreSetup" | "DefaultApps" | "DefaultAppInstall" | "AppStoreTerms" | "SystemMigration" | "SystemUpgrade" | "OTAUpgrade" | "OSUpdate" | "OSUpdateNew" | "OSInstall" | "OSInstallNew" | "OSUpgrade" | "OSUpgradeNew" | "AppUpdate" | "AppInstall" | "AppMigration" | "PhoneSetup" | "PhoneService" | "CarrierSettings" | "CellularData" | "CellularSetupPrompt" | "DataRoaming" | "DataPrivacy" | "CellularActivation" | "NoSIM" | "IntendedUser" | "CloudStorage" | "PreferredLanguage" | "TVProviderSignIn" | "TVHomeScreenSync" | "TVRoom" | "Multitasking" | "ActionButton" | "UpdateCompleted" | "RestoreCompleted" | "iMessageAndFaceTIme" | "AccessibilityAppearance" | "DisplayTone" | "HomeButtonSensitivity" | "ScreenSaver" | "TapToSetup" | "WatchMigration" | "OnBoarding" | "SetupCompleted" | "SetupFinished" | "SetupDone" | "FinishSetup" | "PartialSetup" | "DeviceSetup" | "DeviceConfigurationComplete" | "StandBy" | "StandBySetup" | "StandByWelcome" | "StandByOnboarding";
|
|
71
|
-
/**
|
|
72
|
-
* Activation flow config
|
|
73
|
-
*/
|
|
74
|
-
export interface ActivationFlowConfig {
|
|
75
|
-
/**
|
|
76
|
-
* Path to the ios CLI binary (go-ios wrapper).
|
|
77
|
-
* If not set, defaults to resourcesDir/ios/bin/{platform}/ios(.exe).
|
|
78
|
-
*/
|
|
79
|
-
iosBinaryPath?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Organization name used for trust profile display (optional).
|
|
82
|
-
* If not set, uses ORGANIZATION_NAME from env.
|
|
83
|
-
*/
|
|
84
|
-
organizationName?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Folder to read/write trust_profile.mobileconfig (optional).
|
|
87
|
-
* If not set, defaults to the package resources folder.
|
|
88
|
-
*/
|
|
89
|
-
resourcesDir?: string;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* WiFi profile types
|
|
93
|
-
*/
|
|
94
|
-
export type WifiEncryptionType = "WEP" | "WPA" | "WPA2" | "WPA3" | "Any" | "None";
|
|
95
|
-
export type WifiEapType = "TLS" | "TTLS" | "LEAP" | "PEAP" | "EAP-FAST" | "EAP-SIM" | "EAP-AKA";
|
|
96
|
-
export interface WifiProfileConfig {
|
|
97
|
-
ssid: string;
|
|
98
|
-
password?: string;
|
|
99
|
-
encryptionType?: WifiEncryptionType;
|
|
100
|
-
autoJoin?: boolean;
|
|
101
|
-
hiddenNetwork?: boolean;
|
|
102
|
-
organizationName?: string;
|
|
103
|
-
displayName?: string;
|
|
104
|
-
enterprise?: boolean;
|
|
105
|
-
username?: string;
|
|
106
|
-
eapType?: WifiEapType;
|
|
107
|
-
acceptAnyCertificate?: boolean;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Trust profile types
|
|
111
|
-
*/
|
|
112
|
-
export interface TrustProfileConfig {
|
|
113
|
-
organizationName: string;
|
|
114
|
-
certificateBase64: string;
|
|
115
|
-
certificateDisplayName?: string;
|
|
116
|
-
profileDisplayName?: string;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* MDM types
|
|
120
|
-
*/
|
|
121
|
-
export type DeviceType = "IOS" | "ANDROID";
|
|
122
|
-
export type MdmApiCallStatus = "OK" | "SERVER_ERROR" | "TIMEOUT" | "UNENROLLED_DEVICE_ID";
|
|
123
|
-
export interface GenerateEnrollmentProfileResponse {
|
|
124
|
-
status: MdmApiCallStatus;
|
|
125
|
-
profile?: string | null;
|
|
126
|
-
}
|
|
127
|
-
export interface WaitForDeviceToEnrollResponse {
|
|
128
|
-
status: MdmApiCallStatus;
|
|
129
|
-
isEnrolled?: boolean | null;
|
|
130
|
-
opRef?: string | null;
|
|
131
|
-
}
|
|
132
|
-
export interface InstallAppResponse {
|
|
133
|
-
status: MdmApiCallStatus;
|
|
134
|
-
opRef?: string | null;
|
|
135
|
-
}
|
|
136
|
-
export interface MdmClientConfig {
|
|
137
|
-
endpoint: string;
|
|
138
|
-
authToken?: string;
|
|
139
|
-
timeout?: number;
|
|
140
|
-
}
|
|
141
|
-
export interface MdmClient {
|
|
142
|
-
generateEnrollmentProfile(deviceId: string): Promise<GenerateEnrollmentProfileResponse>;
|
|
143
|
-
waitForDeviceToEnroll(deviceId: string, previousOpRef?: string): Promise<WaitForDeviceToEnrollResponse>;
|
|
144
|
-
installApp(deviceId: string, options: {
|
|
145
|
-
appId?: string;
|
|
146
|
-
url?: string;
|
|
147
|
-
waitForInstalled?: boolean;
|
|
148
|
-
}): Promise<InstallAppResponse>;
|
|
149
|
-
}
|
|
150
|
-
export interface InstallAppMdmOptions {
|
|
151
|
-
appId?: string;
|
|
152
|
-
url?: string;
|
|
153
|
-
waitForInstalled?: boolean;
|
|
154
|
-
client?: MdmClient;
|
|
155
|
-
clientConfig?: MdmClientConfig;
|
|
156
|
-
}
|
|
157
|
-
export interface InstallAppOptions {
|
|
158
|
-
installViaMdm?: boolean;
|
|
159
|
-
mdm?: InstallAppMdmOptions;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Auth types
|
|
163
|
-
*/
|
|
164
|
-
export interface AuthCredentials {
|
|
165
|
-
clientDecorator: string;
|
|
166
|
-
variantConfigurationKey: string;
|
|
167
|
-
frameworkId?: string;
|
|
168
|
-
}
|
|
169
|
-
export interface TokenResponse {
|
|
170
|
-
accessToken: string;
|
|
171
|
-
expiresIn: number;
|
|
172
|
-
}
|
|
173
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;I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import type { AuthCredentials, TokenResponse } from "@/types";
|
|
5
|
-
export declare function getAuthToken(credentials: AuthCredentials, apiUrl?: string): Promise<TokenResponse>;
|
|
6
|
-
export declare function readCredentialsFromFile(filePath: string): Promise<AuthCredentials>;
|
|
7
|
-
//# sourceMappingURL=authClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authClient.d.ts","sourceRoot":"","sources":["../../../src/utils/authClient.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAK9D,wBAAsB,YAAY,CACjC,WAAW,EAAE,eAAe,EAC5B,MAAM,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,aAAa,CAAC,CAyGxB;AAED,wBAAsB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAaxF"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DDM declaration profile builder
|
|
3
|
-
*
|
|
4
|
-
* Generates a configuration profile that installs a DDM managed-app declaration.
|
|
5
|
-
*/
|
|
6
|
-
import type { DdmManagedAppConfig } from "@/types";
|
|
7
|
-
export declare function buildManagedAppDdmProfile(config: DdmManagedAppConfig): Promise<string>;
|
|
8
|
-
//# sourceMappingURL=ddmDeclaration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ddmDeclaration.d.ts","sourceRoot":"","sources":["../../../src/utils/ddmDeclaration.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAsB,MAAM,SAAS,CAAC;AAOvE,wBAAsB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAoC5F"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Log general information
|
|
3
|
-
*/
|
|
4
|
-
export declare function logInfo(message: string): void;
|
|
5
|
-
/**
|
|
6
|
-
* Log task-specific information
|
|
7
|
-
*/
|
|
8
|
-
export declare function logTask(message: string): void;
|
|
9
|
-
/**
|
|
10
|
-
* Log warning messages
|
|
11
|
-
*/
|
|
12
|
-
export declare function logWarning(message: string): void;
|
|
13
|
-
/**
|
|
14
|
-
* Log error messages
|
|
15
|
-
*/
|
|
16
|
-
export declare function logError(message: string): void;
|
|
17
|
-
//# sourceMappingURL=debug.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../../src/utils/debug.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE7C;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE7C;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAEhD;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE9C"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { InstallRawProfileResponse, MdmClient } from "@/types";
|
|
2
|
-
export interface InstallRawProfileRetryConfig {
|
|
3
|
-
retries: number;
|
|
4
|
-
retryDelayMs: number;
|
|
5
|
-
}
|
|
6
|
-
export declare function installRawProfileWithRetry(client: MdmClient, deviceId: string, rawProfile: string, config: InstallRawProfileRetryConfig): Promise<InstallRawProfileResponse>;
|
|
7
|
-
//# sourceMappingURL=installRawProfileRetry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"installRawProfileRetry.d.ts","sourceRoot":"","sources":["../../../src/utils/installRawProfileRetry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpE,MAAM,WAAW,4BAA4B;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,wBAAsB,0BAA0B,CAC/C,MAAM,EAAE,SAAS,EACjB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,4BAA4B,GAClC,OAAO,CAAC,yBAAyB,CAAC,CAqCpC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MDM API Client
|
|
3
|
-
*/
|
|
4
|
-
import type { MdmClient, MdmClientConfig } from "@/types";
|
|
5
|
-
export declare function createMdmClient(config: MdmClientConfig): MdmClient;
|
|
6
|
-
export declare function createMDMClient(): Promise<MdmClient | undefined>;
|
|
7
|
-
//# sourceMappingURL=mdmClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mdmClient.d.ts","sourceRoot":"","sources":["../../../src/utils/mdmClient.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH,OAAO,KAAK,EAGX,SAAS,EACT,eAAe,EAEf,MAAM,SAAS,CAAC;AAKjB,wBAAgB,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,SAAS,CAsFlE;AAED,wBAAsB,eAAe,IAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAgBtE"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Trust Profile Generation Utility
|
|
3
|
-
*/
|
|
4
|
-
import type { TrustProfileConfig } from "@/types";
|
|
5
|
-
export declare function generateTrustProfile(config: TrustProfileConfig, options?: {
|
|
6
|
-
plistDir?: string;
|
|
7
|
-
}): Promise<string>;
|
|
8
|
-
export declare function generateTrustProfileFromEnv(organizationName: string, options?: {
|
|
9
|
-
plistDir?: string;
|
|
10
|
-
}): Promise<string | undefined>;
|
|
11
|
-
export declare function saveTrustProfileToTemp(profileXml: string): Promise<string>;
|
|
12
|
-
//# sourceMappingURL=trustProfile.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trustProfile.d.ts","sourceRoot":"","sources":["../../../src/utils/trustProfile.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAIlD,wBAAsB,oBAAoB,CACzC,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,MAAM,CAAC,CAyCjB;AAED,wBAAsB,2BAA2B,CAChD,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAc7B;AAED,wBAAsB,sBAAsB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAKhF"}
|
package/resources/ios.exe
DELETED
|
Binary file
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
Prebuilt Binaries License
|
|
2
|
-
-------------------------
|
|
3
|
-
|
|
4
|
-
1. DEFINITIONS. "Software" means the precise contents of the "wintun.dll"
|
|
5
|
-
files that are included in the .zip file that contains this document as
|
|
6
|
-
downloaded from wintun.net/builds.
|
|
7
|
-
|
|
8
|
-
2. LICENSE GRANT. WireGuard LLC grants to you a non-exclusive and
|
|
9
|
-
non-transferable right to use Software for lawful purposes under certain
|
|
10
|
-
obligations and limited rights as set forth in this agreement.
|
|
11
|
-
|
|
12
|
-
3. RESTRICTIONS. Software is owned and copyrighted by WireGuard LLC. It is
|
|
13
|
-
licensed, not sold. Title to Software and all associated intellectual
|
|
14
|
-
property rights are retained by WireGuard. You must not:
|
|
15
|
-
a. reverse engineer, decompile, disassemble, extract from, or otherwise
|
|
16
|
-
modify the Software;
|
|
17
|
-
b. modify or create derivative work based upon Software in whole or in
|
|
18
|
-
parts, except insofar as only the API interfaces of the "wintun.h" file
|
|
19
|
-
distributed alongside the Software (the "Permitted API") are used;
|
|
20
|
-
c. remove any proprietary notices, labels, or copyrights from the Software;
|
|
21
|
-
d. resell, redistribute, lease, rent, transfer, sublicense, or otherwise
|
|
22
|
-
transfer rights of the Software without the prior written consent of
|
|
23
|
-
WireGuard LLC, except insofar as the Software is distributed alongside
|
|
24
|
-
other software that uses the Software only via the Permitted API;
|
|
25
|
-
e. use the name of WireGuard LLC, the WireGuard project, the Wintun
|
|
26
|
-
project, or the names of its contributors to endorse or promote products
|
|
27
|
-
derived from the Software without specific prior written consent.
|
|
28
|
-
|
|
29
|
-
4. LIMITED WARRANTY. THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF
|
|
30
|
-
ANY KIND. WIREGUARD LLC HEREBY EXCLUDES AND DISCLAIMS ALL IMPLIED OR
|
|
31
|
-
STATUTORY WARRANTIES, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
32
|
-
FOR A PARTICULAR PURPOSE, QUALITY, NON-INFRINGEMENT, TITLE, RESULTS,
|
|
33
|
-
EFFORTS, OR QUIET ENJOYMENT. THERE IS NO WARRANTY THAT THE PRODUCT WILL BE
|
|
34
|
-
ERROR-FREE OR WILL FUNCTION WITHOUT INTERRUPTION. YOU ASSUME THE ENTIRE
|
|
35
|
-
RISK FOR THE RESULTS OBTAINED USING THE PRODUCT. TO THE EXTENT THAT
|
|
36
|
-
WIREGUARD LLC MAY NOT DISCLAIM ANY WARRANTY AS A MATTER OF APPLICABLE LAW,
|
|
37
|
-
THE SCOPE AND DURATION OF SUCH WARRANTY WILL BE THE MINIMUM PERMITTED UNDER
|
|
38
|
-
SUCH LAW. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
|
|
39
|
-
WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR
|
|
40
|
-
A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE
|
|
41
|
-
EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
|
|
42
|
-
|
|
43
|
-
5. LIMITATION OF LIABILITY. To the extent not prohibited by law, in no event
|
|
44
|
-
WireGuard LLC or any third-party-developer will be liable for any lost
|
|
45
|
-
revenue, profit or data or for special, indirect, consequential, incidental
|
|
46
|
-
or punitive damages, however caused regardless of the theory of liability,
|
|
47
|
-
arising out of or related to the use of or inability to use Software, even
|
|
48
|
-
if WireGuard LLC has been advised of the possibility of such damages.
|
|
49
|
-
Solely you are responsible for determining the appropriateness of using
|
|
50
|
-
Software and accept full responsibility for all risks associated with its
|
|
51
|
-
exercise of rights under this agreement, including but not limited to the
|
|
52
|
-
risks and costs of program errors, compliance with applicable laws, damage
|
|
53
|
-
to or loss of data, programs or equipment, and unavailability or
|
|
54
|
-
interruption of operations. The foregoing limitations will apply even if
|
|
55
|
-
the above stated warranty fails of its essential purpose. You acknowledge,
|
|
56
|
-
that it is in the nature of software that software is complex and not
|
|
57
|
-
completely free of errors. In no event shall WireGuard LLC or any
|
|
58
|
-
third-party-developer be liable to you under any theory for any damages
|
|
59
|
-
suffered by you or any user of Software or for any special, incidental,
|
|
60
|
-
indirect, consequential or similar damages (including without limitation
|
|
61
|
-
damages for loss of business profits, business interruption, loss of
|
|
62
|
-
business information or any other pecuniary loss) arising out of the use or
|
|
63
|
-
inability to use Software, even if WireGuard LLC has been advised of the
|
|
64
|
-
possibility of such damages and regardless of the legal or quitable theory
|
|
65
|
-
(contract, tort, or otherwise) upon which the claim is based.
|
|
66
|
-
|
|
67
|
-
6. TERMINATION. This agreement is affected until terminated. You may
|
|
68
|
-
terminate this agreement at any time. This agreement will terminate
|
|
69
|
-
immediately without notice from WireGuard LLC if you fail to comply with
|
|
70
|
-
the terms and conditions of this agreement. Upon termination, you must
|
|
71
|
-
delete Software and all copies of Software and cease all forms of
|
|
72
|
-
distribution of Software.
|
|
73
|
-
|
|
74
|
-
7. SEVERABILITY. If any provision of this agreement is held to be
|
|
75
|
-
unenforceable, this agreement will remain in effect with the provision
|
|
76
|
-
omitted, unless omission would frustrate the intent of the parties, in
|
|
77
|
-
which case this agreement will immediately terminate.
|
|
78
|
-
|
|
79
|
-
8. RESERVATION OF RIGHTS. All rights not expressly granted in this agreement
|
|
80
|
-
are reserved by WireGuard LLC. For example, WireGuard LLC reserves the
|
|
81
|
-
right at any time to cease development of Software, to alter distribution
|
|
82
|
-
details, features, specifications, capabilities, functions, licensing
|
|
83
|
-
terms, release dates, APIs, ABIs, general availability, or other
|
|
84
|
-
characteristics of the Software.
|
package/resources/wintun.dll
DELETED
|
Binary file
|