From 92af1b1c123983b94e38519943b6ad4fab3db9d7 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 21 Jan 2020 00:37:57 +0100 Subject: Fix `todos` build workflow --- examples/todos/Cargo.toml | 8 ++++++-- examples/todos/iced-todos.desktop | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 examples/todos/iced-todos.desktop (limited to 'examples/todos') diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml index 53a135e6..21acd5d6 100644 --- a/examples/todos/Cargo.toml +++ b/examples/todos/Cargo.toml @@ -5,8 +5,6 @@ authors = ["Héctor Ramón Jiménez "] edition = "2018" publish = false -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] iced = { path = "../.." } iced_futures = { path = "../../futures", features = ["async-std"] } @@ -14,3 +12,9 @@ async-std = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" directories = "2.0" + +[package.metadata.deb] +assets = [ + ["target/release/todos", "usr/bin/iced-todos", "755"], + ["iced-todos.desktop", "usr/share/applications/", "644"], +] diff --git a/examples/todos/iced-todos.desktop b/examples/todos/iced-todos.desktop new file mode 100644 index 00000000..dd7ce53d --- /dev/null +++ b/examples/todos/iced-todos.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Name=Todos - Iced +Exec=iced-todos +Type=Application -- cgit