From 74bbdd5fd19da0d3bc0af9a2a3be12e822b741ea Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Thu, 14 Nov 2024 14:05:51 -0800 Subject: [PATCH] Set `dryRun` in the VPN extension. --- .../NetworkProtectionPacketTunnelProvider.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift b/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift index 4399848fc6..5f8d7d5f19 100644 --- a/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift +++ b/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift @@ -395,6 +395,10 @@ final class NetworkProtectionPacketTunnelProvider: PacketTunnelProvider { } @objc init() { +#if DEBUG + Pixel.isDryRun = true +#endif + APIRequest.Headers.setUserAgent(DefaultUserAgentManager.duckDuckGoUserAgent) let settings = VPNSettings(defaults: .networkProtectionGroupDefaults)