aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessio Nossa <alessio.nossa@gmail.com>2023-04-01 16:12:32 +0200
committerAlessio Nossa <alessio.nossa@gmail.com>2023-04-01 16:12:32 +0200
commit7ec6974005d2451fc20672e0789e0c0ecd43743f (patch)
tree486e9ca0067da07f37908b867064393f066756a8
parentRemoved SetTunnelStatus (diff)
downloadwireguard-apple-7ec6974005d2451fc20672e0789e0c0ecd43743f.tar.xz
wireguard-apple-7ec6974005d2451fc20672e0789e0c0ecd43743f.zip
Complete cleanup after SetTunnelStatus Intent removal
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com>
-rw-r--r--Sources/Shared/Intents.intentdefinition89
-rw-r--r--Sources/WireGuardApp/UI/iOS/ViewController/TunnelDetailTableViewController.swift1
-rw-r--r--Sources/WireGuardIntentsExtension/Info.plist1
3 files changed, 1 insertions, 90 deletions
diff --git a/Sources/Shared/Intents.intentdefinition b/Sources/Shared/Intents.intentdefinition
index 74bbf1f..8c8d33b 100644
--- a/Sources/Shared/Intents.intentdefinition
+++ b/Sources/Shared/Intents.intentdefinition
@@ -3,94 +3,7 @@
<plist version="1.0">
<dict>
<key>INEnums</key>
- <array>
- <dict>
- <key>INEnumDisplayName</key>
- <string>State</string>
- <key>INEnumDisplayNameID</key>
- <string>kiXIKs</string>
- <key>INEnumGeneratesHeader</key>
- <true/>
- <key>INEnumName</key>
- <string>State</string>
- <key>INEnumType</key>
- <string>State</string>
- <key>INEnumValues</key>
- <array>
- <dict>
- <key>INEnumValueDisplayName</key>
- <string>unknown</string>
- <key>INEnumValueDisplayNameID</key>
- <string>57IgER</string>
- <key>INEnumValueName</key>
- <string>unknown</string>
- </dict>
- <dict>
- <key>INEnumValueDisplayName</key>
- <string>on</string>
- <key>INEnumValueDisplayNameID</key>
- <string>tbFf8o</string>
- <key>INEnumValueIndex</key>
- <integer>1</integer>
- <key>INEnumValueName</key>
- <string>on</string>
- </dict>
- <dict>
- <key>INEnumValueDisplayName</key>
- <string>off</string>
- <key>INEnumValueDisplayNameID</key>
- <string>7lY4Sc</string>
- <key>INEnumValueIndex</key>
- <integer>2</integer>
- <key>INEnumValueName</key>
- <string>off</string>
- </dict>
- </array>
- </dict>
- <dict>
- <key>INEnumDisplayName</key>
- <string>Operation</string>
- <key>INEnumDisplayNameID</key>
- <string>urZ7WZ</string>
- <key>INEnumGeneratesHeader</key>
- <true/>
- <key>INEnumName</key>
- <string>Operation</string>
- <key>INEnumType</key>
- <string>Regular</string>
- <key>INEnumValues</key>
- <array>
- <dict>
- <key>INEnumValueDisplayName</key>
- <string>unknown</string>
- <key>INEnumValueDisplayNameID</key>
- <string>efZxZH</string>
- <key>INEnumValueName</key>
- <string>unknown</string>
- </dict>
- <dict>
- <key>INEnumValueDisplayName</key>
- <string>Turn</string>
- <key>INEnumValueDisplayNameID</key>
- <string>viQ2K7</string>
- <key>INEnumValueIndex</key>
- <integer>1</integer>
- <key>INEnumValueName</key>
- <string>turn</string>
- </dict>
- <dict>
- <key>INEnumValueDisplayName</key>
- <string>Toggle</string>
- <key>INEnumValueDisplayNameID</key>
- <string>N4IzMI</string>
- <key>INEnumValueIndex</key>
- <integer>2</integer>
- <key>INEnumValueName</key>
- <string>toggle</string>
- </dict>
- </array>
- </dict>
- </array>
+ <array/>
<key>INIntentDefinitionModelVersion</key>
<string>1.2</string>
<key>INIntentDefinitionNamespace</key>
diff --git a/Sources/WireGuardApp/UI/iOS/ViewController/TunnelDetailTableViewController.swift b/Sources/WireGuardApp/UI/iOS/ViewController/TunnelDetailTableViewController.swift
index 2c185d9..196de0c 100644
--- a/Sources/WireGuardApp/UI/iOS/ViewController/TunnelDetailTableViewController.swift
+++ b/Sources/WireGuardApp/UI/iOS/ViewController/TunnelDetailTableViewController.swift
@@ -2,7 +2,6 @@
// Copyright © 2018-2021 WireGuard LLC. All Rights Reserved.
import UIKit
-import Intents
class TunnelDetailTableViewController: UITableViewController {
diff --git a/Sources/WireGuardIntentsExtension/Info.plist b/Sources/WireGuardIntentsExtension/Info.plist
index fbe7d56..06ec3ab 100644
--- a/Sources/WireGuardIntentsExtension/Info.plist
+++ b/Sources/WireGuardIntentsExtension/Info.plist
@@ -33,7 +33,6 @@
<key>IntentsSupported</key>
<array>
<string>GetPeersIntent</string>
- <string>SetTunnelStatusIntent</string>
<string>UpdateConfigurationIntent</string>
</array>
</dict>