moved all png to res
@ -142,10 +142,10 @@ hound = "3.5"
|
|||||||
[package.metadata.bundle]
|
[package.metadata.bundle]
|
||||||
name = "RustDesk"
|
name = "RustDesk"
|
||||||
identifier = "com.carriez.rustdesk"
|
identifier = "com.carriez.rustdesk"
|
||||||
icon = ["32x32.png", "128x128.png", "128x128@2x.png"]
|
icon = ["res/32x32.png", "res/128x128.png", "res/128x128@2x.png"]
|
||||||
deb_depends = ["libgtk-3-0", "libxcb-randr0", "libxdo3", "libxfixes3", "libxcb-shape0", "libxcb-xfixes0", "libasound2", "libsystemd0", "pulseaudio", "python3-pip", "curl"]
|
deb_depends = ["libgtk-3-0", "libxcb-randr0", "libxdo3", "libxfixes3", "libxcb-shape0", "libxcb-xfixes0", "libasound2", "libsystemd0", "pulseaudio", "python3-pip", "curl"]
|
||||||
osx_minimum_system_version = "10.14"
|
osx_minimum_system_version = "10.14"
|
||||||
resources = ["mac-tray-light.png","mac-tray-dark.png"]
|
resources = ["res/mac-tray-light.png","res/mac-tray-dark.png"]
|
||||||
|
|
||||||
#https://github.com/johnthagen/min-sized-rust
|
#https://github.com/johnthagen/min-sized-rust
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 574 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 811 B |
Before Width: | Height: | Size: 893 B After Width: | Height: | Size: 467 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 806 B |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 574 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 997 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 939 B |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 1.9 KiB |
@ -140,7 +140,7 @@ packages:
|
|||||||
name: characters
|
name: characters
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.2.0"
|
version: "1.2.1"
|
||||||
charcode:
|
charcode:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -576,7 +576,7 @@ packages:
|
|||||||
name: material_color_utilities
|
name: material_color_utilities
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.4"
|
version: "0.1.5"
|
||||||
menu_base:
|
menu_base:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -590,7 +590,7 @@ packages:
|
|||||||
name: meta
|
name: meta
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.7.0"
|
version: "1.8.0"
|
||||||
mime:
|
mime:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -89,7 +89,7 @@ dev_dependencies:
|
|||||||
|
|
||||||
# rerun: flutter pub run flutter_launcher_icons:main
|
# rerun: flutter pub run flutter_launcher_icons:main
|
||||||
icons_launcher:
|
icons_launcher:
|
||||||
image_path: "../128x128@2x.png"
|
image_path: "../res/icon.png"
|
||||||
platforms:
|
platforms:
|
||||||
android:
|
android:
|
||||||
enable: true
|
enable: true
|
||||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 504 B After Width: | Height: | Size: 504 B |
BIN
res/icon.png
Normal file
After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 391 B After Width: | Height: | Size: 391 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 475 B |
@ -40,7 +40,7 @@ InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}"
|
|||||||
####################################################################
|
####################################################################
|
||||||
# Pages
|
# Pages
|
||||||
|
|
||||||
!define MUI_ICON "src\tray-icon.ico"
|
!define MUI_ICON "tray-icon.ico"
|
||||||
!define MUI_ABORTWARNING
|
!define MUI_ABORTWARNING
|
||||||
!define MUI_LANGDLL_ALLLANGUAGES
|
!define MUI_LANGDLL_ALLLANGUAGES
|
||||||
!define MUI_FINISHPAGE_SHOWREADME ""
|
!define MUI_FINISHPAGE_SHOWREADME ""
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
@ -18,7 +18,7 @@ enum Events {
|
|||||||
pub fn start_tray(options: Arc<Mutex<HashMap<String, String>>>) {
|
pub fn start_tray(options: Arc<Mutex<HashMap<String, String>>>) {
|
||||||
let event_loop = EventLoop::<Events>::with_user_event();
|
let event_loop = EventLoop::<Events>::with_user_event();
|
||||||
let proxy = event_loop.create_proxy();
|
let proxy = event_loop.create_proxy();
|
||||||
let icon = include_bytes!("./tray-icon.ico");
|
let icon = include_bytes!("../res/tray-icon.ico");
|
||||||
let mut tray_icon = TrayIconBuilder::new()
|
let mut tray_icon = TrayIconBuilder::new()
|
||||||
.sender_winit(proxy)
|
.sender_winit(proxy)
|
||||||
.icon_from_buffer(icon)
|
.icon_from_buffer(icon)
|
||||||
|