Skip to content

Commit 3a4d3d3

Browse files
committed
added bundle info and icons
1 parent fc18dfe commit 3a4d3d3

File tree

6 files changed

+14
-1
lines changed

6 files changed

+14
-1
lines changed

Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "can-viewer"
33
version = "0.1.0"
44
edition = "2021"
5+
description = "view real-time CAN packages"
56

67
[dependencies]
78
can-dbc = { git="https://github.com/TuEmb/can-dbc.git", branch="dev" }
@@ -18,3 +19,15 @@ socketcan = { git = "https://github.com/socketcan-rs/socketcan-rs.git", rev="e0d
1819

1920
[build-dependencies]
2021
slint-build = "1.7.1"
22+
23+
[package.metadata.bundle]
24+
name = "can-viewer"
25+
icon = ["ui/images/can_viewer_32px.png", "ui/images/can_viewer_128px.png", "ui/images/can_viewer_256px.png"]
26+
version = "1.0.0"
27+
copyright = "Copyright (c) Tu Nguyen 2024. All rights reserved."
28+
category = "Developer Tool"
29+
short_description = "view real-time CAN packages"
30+
long_description = """
31+
can-viewer is developed by https://github.com/TuEmb, using Rust and Slint.
32+
can-view can records real-time can packages and parse data with DBC input.
33+
"""

ui/app.slint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export component AppWindow inherits Window {
1919
callback open_dbc_file();
2020
callback filter_id(CanData, bool);
2121
title: @tr("CAN VIEWER (version 0.1.0)");
22-
icon: @image-url("images/can-viewer.png");
22+
icon: @image-url("images/can_viewer_128px.png");
2323
background: #1a1f2b;
2424
default-font-family: "Noto Sans";
2525
default-font-size: 12px;

ui/images/can-viewer.png

-182 KB
Binary file not shown.

ui/images/can_viewer_128px.png

6.51 KB
Loading

ui/images/can_viewer_256px.png

13.2 KB
Loading

ui/images/can_viewer_32px.png

1.75 KB
Loading

0 commit comments

Comments
 (0)