From 6bdc6814ebc5df46d46abb742d79941a600e0cb9 Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Thu, 19 Mar 2026 14:39:48 +0100 Subject: [PATCH] chore: use e2e updater url for e2e builds Made-with: Cursor --- Bitkit/Constants/Env.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Bitkit/Constants/Env.swift b/Bitkit/Constants/Env.swift index 61354937..a46d7cd1 100644 --- a/Bitkit/Constants/Env.swift +++ b/Bitkit/Constants/Env.swift @@ -277,7 +277,12 @@ enum Env { static let playStoreUrl = "https://play.google.com/store/apps/details?id=to.bitkit" static let githubUrl = "https://www.github.com/synonymdev/bitkit" static let githubReleasesUrl = "https://www.github.com/synonymdev/bitkit/releases" - static let updaterUrl = "https://github.com/synonymdev/bitkit/releases/download/updater/release.json" + static var updaterUrl: String { + isE2E + ? "https://github.com/synonymdev/bitkit-e2e-tests/releases/download/updater/release.json" + : "https://github.com/synonymdev/bitkit/releases/download/updater/release.json" + } + static let termsOfServiceUrl = "https://www.bitkit.to/terms-of-use" static let privacyPolicyUrl = "https://www.bitkit.to/privacy-policy" static let geoCheckUrl = "https://api1.blocktank.to/api/geocheck"