mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
s/open/create
This commit is contained in:
@@ -1126,7 +1126,7 @@ pub async fn install_s9pk<R: AsyncRead + AsyncSeek + Unpin>(
|
|||||||
if let Some(mut hdl) = rdr.scripts().await? {
|
if let Some(mut hdl) = rdr.scripts().await? {
|
||||||
tokio::io::copy(
|
tokio::io::copy(
|
||||||
&mut hdl,
|
&mut hdl,
|
||||||
&mut File::open(script_dir.join("embassy.js")).await?,
|
&mut File::create(dbg!(script_dir.join("embassy.js"))).await?,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user