Compare commits
2 Commits
v0.1.1-alp
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a45d6abb6e | ||
|
|
7fc81ececa |
@@ -56,7 +56,8 @@ fn execute_build(args: &BuildArgs, dry_run: bool, print_config: bool) -> Result<
|
||||
"Installing Chromium app '{}' for URL: {}",
|
||||
args.name, args.url
|
||||
);
|
||||
let temp_icon = tempdir()?.path().join("icon.png");
|
||||
let dir = tempdir().context("Failed to create temporary directory for building")?;
|
||||
let temp_icon = dir.path().join("icon.png");
|
||||
icon::fetch_or_create_icon(&args.url, args.icon.as_ref(), &temp_icon)?;
|
||||
install::install_chromium_app(args, &temp_icon)?;
|
||||
app::write_app_config_from_args(args)?;
|
||||
|
||||
Reference in New Issue
Block a user