EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust
Update prompt shows the app accent color (#2656)
Dylan M. Taylore136844b531a
diff --git a/Cargo.lock b/Cargo.lockindex e55969e6f..6ebd53b78 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1121,13 +1121,14 @@ dependencies = [[[package]]name = "craft-update"version = "0.1.0"-source = "git+https://github.com/storytold/craft-libs?rev=92d392cff132eaf53e13afff77f38b5c11b73aa0#92d392cff132eaf53e13afff77f38b5c11b73aa0"+source = "git+https://github.com/storytold/craft-libs?rev=1065653e75854e9c17e1ff563acdd344c1b185f0#1065653e75854e9c17e1ff563acdd344c1b185f0"dependencies = ["chrono","dunce","egui","flate2","getrandom 0.3.4",+ "image","log","plist","semver",@@ -4293,7 +4294,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967"dependencies = ["libc",- "windows-sys 0.61.2",+ "windows-sys 0.45.0",][[package]]diff --git a/Cargo.toml b/Cargo.tomlindex 24791c08d..772f62ee4 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -14,7 +14,8 @@ repository = "https://github.com/storytold/effectcraft"craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0", version = "=0.1.0", default-features = false, features = ["read"] }craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0" }craft-quit = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0" }-craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "92d392cff132eaf53e13afff77f38b5c11b73aa0", features = ["egui"] }+# craft-update with storytold/craft-libs#434: the update prompt shows the app's icon, accent and developer.+craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "1065653e75854e9c17e1ff563acdd344c1b185f0", features = ["egui"] }# internaleffectcraft-time = { path = "crates/time" }effectcraft-geom = { path = "crates/geom" }diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rsindex 32fa8cafa..9dc19e322 100644--- a/crates/ui-egui/src/lib.rs+++ b/crates/ui-egui/src/lib.rs@@ -7,11 +7,12 @@#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]-/// EffectCraft as craft-update knows it, with its 128 px icon: the update prompt shows the icon,-/// and an AppImage's menu entry gets it.+/// EffectCraft as craft-update knows it, with its 128 px icon and accent colour: the update+/// prompt shows both, and an AppImage's menu entry gets the icon.#[cfg(not(target_arch = "wasm32"))]pub const UPDATE_APP: craft_update::app::App = craft_update::app::App {icon_png: Some(include_bytes!("../../../assets/app-icon/hicolor/128x128/apps/ai.storyteller.effectcraft.png")),+ accent: Some([0xe0, 0x36, 0x8f]),..craft_update::suite::EFFECTCRAFT};