1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Fix TestFlight errors caused by desktop_proxy (#10928)

* Add info.plist and enable app-sandbox

* Log available identities

* Fix cert selection

* Remove comment
This commit is contained in:
Daniel García
2024-09-06 17:48:51 +02:00
committed by GitHub
parent 9881c7842b
commit 40cb4b5353
6 changed files with 52 additions and 9 deletions

View File

@@ -14,3 +14,6 @@ log = "0.4.21"
simplelog = "0.12.2"
tokio = { version = "1.38.0", features = ["io-std", "io-util", "macros", "rt"] }
tokio-util = { version = "0.7.11", features = ["codec"] }
[target.'cfg(target_os = "macos")'.dependencies]
embed_plist = "1.2.2"

View File

@@ -5,6 +5,9 @@ use futures::{SinkExt, StreamExt};
use log::*;
use tokio_util::codec::LengthDelimitedCodec;
#[cfg(target_os = "macos")]
embed_plist::embed_info_plist!("../../../resources/info.desktop_proxy.plist");
fn init_logging(log_path: &Path, level: log::LevelFilter) {
use simplelog::{ColorChoice, CombinedLogger, Config, SharedLogger, TermLogger, TerminalMode};