Compare commits

..

No commits in common. "e79cac13cc546aeb21570d9725624ff341106b6a" and "e808886083003a5b956850d133802fe8bca997bf" have entirely different histories.

9 changed files with 4 additions and 25 deletions

View file

@ -1,21 +1,15 @@
[package] [package]
name = "DiscordRPC-HDRezcord-APP" name = "DiscordRPC-HDRezcord-APP"
version = "0.1.3" version = "0.1.2"
authors = ["AmokDev <amokdevv@gmail.com>"]
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web = "4" actix-web = "4"
image = "0.25.5" image = "0.25.5"
open = "5.3.2" open = "5.3.2"
dioxus = { version = "0.6.3", features = ["desktop"] } rust-discord-rpc = { git = "https://git.amok.dev/AmokDev/rust-discord-rpc", version = "0.3.3" }
dioxus-desktop = "0.6.3"
rust-discord-rpc = { git = "https://git.amok.dev/AmokDev/rust-discord-rpc", version = "1.0.0" }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] } tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tray-icon = "0.20.0" tray-icon = "0.20.0"
winit = "0.30.9" winit = "0.30.9"
[target.'cfg(windows)'.build-dependencies]
winresource = "0.1.20"

View file

@ -1,11 +0,0 @@
#[cfg(windows)]
fn main() {
let mut res = winresource::WindowsResource::new();
res.set_icon("resources/icon.ico");
res.compile().unwrap();
}
#[cfg(unix)]
fn main() {
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

View file

@ -1,7 +1,4 @@
#![cfg_attr( #![windows_subsystem = "windows"]
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
mod network; mod network;
mod discord; mod discord;

View file

@ -36,8 +36,7 @@ impl Application {
fn new_tray_menu() -> Menu { fn new_tray_menu() -> Menu {
let menu = Menu::new(); let menu = Menu::new();
let _ = menu.append(&MenuItem::new("Sources", true, None)); let _ = menu.append(&MenuItem::new("GitHub", true, None));
// let _ = menu.append(&MenuItem::new("Stop Presence", true, None));
let _ = menu.append(&MenuItem::new("Exit", true, None)); let _ = menu.append(&MenuItem::new("Exit", true, None));
menu menu
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 B

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 971 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2 KiB