diff --git a/backend/install-sdk.sh b/backend/install-sdk.sh index 4b2978102..223a7da88 100755 --- a/backend/install-sdk.sh +++ b/backend/install-sdk.sh @@ -8,4 +8,4 @@ if [ "$0" != "./install-sdk.sh" ]; then exit 1 fi -cargo install --bin=embassy-sdk --path=. --no-default-features +cargo install --bin=embassy-sdk --path=. --no-default-features --features=js_engine diff --git a/backend/src/init.rs b/backend/src/init.rs index 7c51d497b..181ce2644 100644 --- a/backend/src/init.rs +++ b/backend/src/init.rs @@ -134,16 +134,7 @@ pub async fn init(cfg: &RpcContextConfig, product_key: &str) -> Result<(), Error crate::net::wifi::synchronize_wpa_supplicant_conf( &cfg.datadir().join("main"), - &receipts - .last_wifi_region - .get(&mut handle) - .await - .map_err(|_e| { - Error::new( - color_eyre::eyre::eyre!("Could not find the last wifi region"), - crate::ErrorKind::NotFound, - ) - })?, + &receipts.last_wifi_region.get(&mut handle).await?, ) .await?; tracing::info!("Synchronized wpa_supplicant.conf"); diff --git a/patch-db b/patch-db index 6f6c26acd..8e7c893d4 160000 --- a/patch-db +++ b/patch-db @@ -1 +1 @@ -Subproject commit 6f6c26acd440bc6dfb007aa8f33b9a572756c8fb +Subproject commit 8e7c893d48f03bb1a38b826b680ea77d0e109825