mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
Fix/patch db unwrap remove (#1481)
* fix: Change the git to always give a maybe, then create the error in the failure cases * fix: No wifi last * chore: Revert to older api * fix: build for sdk * fix: build for sdk * chore: update patch db * chore: use the master patch db
This commit is contained in:
@@ -8,4 +8,4 @@ if [ "$0" != "./install-sdk.sh" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cargo install --bin=embassy-sdk --path=. --no-default-features
|
cargo install --bin=embassy-sdk --path=. --no-default-features --features=js_engine
|
||||||
|
|||||||
@@ -134,16 +134,7 @@ pub async fn init(cfg: &RpcContextConfig, product_key: &str) -> Result<(), Error
|
|||||||
|
|
||||||
crate::net::wifi::synchronize_wpa_supplicant_conf(
|
crate::net::wifi::synchronize_wpa_supplicant_conf(
|
||||||
&cfg.datadir().join("main"),
|
&cfg.datadir().join("main"),
|
||||||
&receipts
|
&receipts.last_wifi_region.get(&mut handle).await?,
|
||||||
.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,
|
|
||||||
)
|
|
||||||
})?,
|
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
tracing::info!("Synchronized wpa_supplicant.conf");
|
tracing::info!("Synchronized wpa_supplicant.conf");
|
||||||
|
|||||||
2
patch-db
2
patch-db
Submodule patch-db updated: 6f6c26acd4...8e7c893d48
Reference in New Issue
Block a user