0.1.1: fix bug when using local path
This commit is contained in:
parent
0a2a9a8637
commit
79024d5e42
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "typst-install"
|
name = "typst-install"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Aaron Manning"]
|
authors = ["Aaron Manning"]
|
||||||
|
|
||||||
|
@ -103,7 +103,8 @@ fn main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Err(err) = copy_dir_all(args.manifest.parent().unwrap(), package_folder) {
|
|
||||||
|
if let Err(err) = copy_dir_all(args.manifest.canonicalize().unwrap().parent().unwrap(), package_folder) {
|
||||||
eprintln!("Error occured while copying package folder to installation location: {}", err);
|
eprintln!("Error occured while copying package folder to installation location: {}", err);
|
||||||
process::exit(1)
|
process::exit(1)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user