mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix(jupyter): copy kernels icons to the kernel directory (#26084)
This commit is contained in:
parent
d59599fc18
commit
19cb0d949a
1 changed files with 3 additions and 3 deletions
|
@ -58,9 +58,9 @@ pub fn install() -> Result<(), AnyError> {
|
||||||
|
|
||||||
let f = std::fs::File::create(kernel_json_path)?;
|
let f = std::fs::File::create(kernel_json_path)?;
|
||||||
serde_json::to_writer_pretty(f, &json_data)?;
|
serde_json::to_writer_pretty(f, &json_data)?;
|
||||||
install_icon(&user_data_dir, "logo-32x32.png", DENO_ICON_32)?;
|
install_icon(&kernel_dir, "logo-32x32.png", DENO_ICON_32)?;
|
||||||
install_icon(&user_data_dir, "logo-64x64.png", DENO_ICON_64)?;
|
install_icon(&kernel_dir, "logo-64x64.png", DENO_ICON_64)?;
|
||||||
install_icon(&user_data_dir, "logo-svg.svg", DENO_ICON_SVG)?;
|
install_icon(&kernel_dir, "logo-svg.svg", DENO_ICON_SVG)?;
|
||||||
|
|
||||||
log::info!("✅ Deno kernelspec installed successfully.");
|
log::info!("✅ Deno kernelspec installed successfully.");
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue