Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/microbridge-ui/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 apps/microbridge-ui/src-tauri/icons/32x32.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 apps/microbridge-ui/src-tauri/icons/64x64.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 apps/microbridge-ui/src-tauri/icons/icon.icns
Binary file not shown.
Binary file added apps/microbridge-ui/src-tauri/icons/icon.ico
Binary file not shown.
Binary file modified apps/microbridge-ui/src-tauri/icons/icon.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 apps/microbridge-ui/src-tauri/icons/tray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions apps/microbridge-ui/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ pub fn run() {
let _ = hud_generation; // owned by the bus event loop
app.manage(AppState { bus, snapshot });

let icon = app
.default_window_icon()
.cloned()
.expect("default window icon");
// Dedicated monochrome tray glyph (bridge silhouette), rendered as a
// template image so macOS tints it for light/dark menu bars. The full
// app icon is an opaque squircle and would appear as a black blob here.
let tray_icon = tauri::include_image!("icons/tray.png");

let _tray = TrayIconBuilder::new()
.icon(icon)
.icon(tray_icon)
.icon_as_template(true)
.tooltip("Microbridge")
.on_tray_icon_event(|tray, event| {
Expand Down
6 changes: 5 additions & 1 deletion apps/microbridge-ui/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@
"active": true,
"targets": "all",
"icon": [
"icons/icon.png"
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"macOS": {
"minimumSystemVersion": "13.0",
Expand Down
39 changes: 39 additions & 0 deletions docs/design/logo/microbridge-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/design/logo/microbridge-tray.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading