mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
no tar for scripts
This commit is contained in:
@@ -106,9 +106,8 @@ pub fn pack(#[context] ctx: SdkContext, #[arg] path: Option<PathBuf>) -> Result<
|
||||
std::io::Cursor::new(assets.into_inner()?)
|
||||
})
|
||||
.scripts({
|
||||
let mut scripts = tar::Builder::new(Vec::new());
|
||||
scripts.append_dir_all("scripts", path.join(manifest.assets.scripts_path()))?;
|
||||
std::io::Cursor::new(scripts.into_inner()?)
|
||||
let script_path = path.join(manifest.assets.scripts_path()).join("embassy.js");
|
||||
File::open(script_path)?
|
||||
})
|
||||
.build()
|
||||
.pack(&ctx.developer_key()?)?;
|
||||
|
||||
Reference in New Issue
Block a user