diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-09-23 06:19:48 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-09-23 06:19:48 +0200 |
commit | 75b6925deb69581e93d5ea243a17d55a0a154878 (patch) | |
tree | 559fc33fa1bb1b13296f7dc91b25de57143ec909 | |
parent | Model: migrate iOS 14 keychain references to iOS 15 format (diff) | |
download | wireguard-apple-75b6925deb69581e93d5ea243a17d55a0a154878.tar.xz wireguard-apple-75b6925deb69581e93d5ea243a17d55a0a154878.zip |
UI: macOS: increase login detector file timeout
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | Sources/WireGuardApp/UI/macOS/LaunchedAtLoginDetector.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/WireGuardApp/UI/macOS/LaunchedAtLoginDetector.swift b/Sources/WireGuardApp/UI/macOS/LaunchedAtLoginDetector.swift index 57003e5..94faa57 100644 --- a/Sources/WireGuardApp/UI/macOS/LaunchedAtLoginDetector.swift +++ b/Sources/WireGuardApp/UI/macOS/LaunchedAtLoginDetector.swift @@ -14,6 +14,6 @@ class LaunchedAtLoginDetector { let then = data.withUnsafeBytes { ptr in ptr.load(as: UInt64.self) } - return now - then <= 5000000000 + return now - then <= 20000000000 } } |