Skip to content

Commit

Permalink
added bundle info and icons
Browse files Browse the repository at this point in the history
  • Loading branch information
TuEmb committed Aug 12, 2024
1 parent fc18dfe commit 3a4d3d3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "can-viewer"
version = "0.1.0"
edition = "2021"
description = "view real-time CAN packages"

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

[build-dependencies]
slint-build = "1.7.1"

[package.metadata.bundle]
name = "can-viewer"
icon = ["ui/images/can_viewer_32px.png", "ui/images/can_viewer_128px.png", "ui/images/can_viewer_256px.png"]
version = "1.0.0"
copyright = "Copyright (c) Tu Nguyen 2024. All rights reserved."
category = "Developer Tool"
short_description = "view real-time CAN packages"
long_description = """
can-viewer is developed by https://github.com/TuEmb, using Rust and Slint.
can-view can records real-time can packages and parse data with DBC input.
"""
2 changes: 1 addition & 1 deletion ui/app.slint
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export component AppWindow inherits Window {
callback open_dbc_file();
callback filter_id(CanData, bool);
title: @tr("CAN VIEWER (version 0.1.0)");
icon: @image-url("images/can-viewer.png");
icon: @image-url("images/can_viewer_128px.png");
background: #1a1f2b;
default-font-family: "Noto Sans";
default-font-size: 12px;
Expand Down
Binary file removed ui/images/can-viewer.png
Binary file not shown.
Binary file added ui/images/can_viewer_128px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ui/images/can_viewer_256px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ui/images/can_viewer_32px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3a4d3d3

Please sign in to comment.