chore: 项目名改为 display ambient light desktop.
This commit is contained in:
parent
753074d0f4
commit
1b10c6bea9
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "screen-bg-light-desktop",
|
"name": "display-ambient-light-desktop",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
48
src-tauri/Cargo.lock
generated
48
src-tauri/Cargo.lock
generated
@ -565,6 +565,30 @@ version = "0.2.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b"
|
checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "display-ambient-light-desktop"
|
||||||
|
version = "0.0.0"
|
||||||
|
dependencies = [
|
||||||
|
"anyhow",
|
||||||
|
"base64",
|
||||||
|
"bmp",
|
||||||
|
"color_space",
|
||||||
|
"hex",
|
||||||
|
"once_cell",
|
||||||
|
"paris",
|
||||||
|
"rumqttc",
|
||||||
|
"scrap",
|
||||||
|
"serde",
|
||||||
|
"serde_json",
|
||||||
|
"tauri",
|
||||||
|
"tauri-build",
|
||||||
|
"time",
|
||||||
|
"tokio",
|
||||||
|
"tracing",
|
||||||
|
"tracing-subscriber",
|
||||||
|
"webp",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dtoa"
|
name = "dtoa"
|
||||||
version = "0.4.8"
|
version = "0.4.8"
|
||||||
@ -2457,30 +2481,6 @@ dependencies = [
|
|||||||
"winapi 0.2.8",
|
"winapi 0.2.8",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "screen-bg-light-desktop"
|
|
||||||
version = "0.0.0"
|
|
||||||
dependencies = [
|
|
||||||
"anyhow",
|
|
||||||
"base64",
|
|
||||||
"bmp",
|
|
||||||
"color_space",
|
|
||||||
"hex",
|
|
||||||
"once_cell",
|
|
||||||
"paris",
|
|
||||||
"rumqttc",
|
|
||||||
"scrap",
|
|
||||||
"serde",
|
|
||||||
"serde_json",
|
|
||||||
"tauri",
|
|
||||||
"tauri-build",
|
|
||||||
"time",
|
|
||||||
"tokio",
|
|
||||||
"tracing",
|
|
||||||
"tracing-subscriber",
|
|
||||||
"webp",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sct"
|
name = "sct"
|
||||||
version = "0.7.0"
|
version = "0.7.0"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "screen-bg-light-desktop"
|
name = "display-ambient-light-desktop"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "A Tauri App"
|
description = "A Tauri App"
|
||||||
authors = ["you"]
|
authors = ["you"]
|
||||||
|
@ -31,7 +31,7 @@ impl Manager {
|
|||||||
self.mqtt
|
self.mqtt
|
||||||
.client
|
.client
|
||||||
.publish(
|
.publish(
|
||||||
"screen-bg-light/desktop/colors",
|
"display-ambient-light/desktop/colors",
|
||||||
rumqttc::QoS::AtLeastOnce,
|
rumqttc::QoS::AtLeastOnce,
|
||||||
false,
|
false,
|
||||||
payload,
|
payload,
|
||||||
|
@ -29,7 +29,7 @@ impl MqttConnection {
|
|||||||
|
|
||||||
async fn subscribe_board(&self) {
|
async fn subscribe_board(&self) {
|
||||||
self.client
|
self.client
|
||||||
.subscribe("screen-bg-light/board/#", QoS::AtMostOnce).await;
|
.subscribe("display-ambient-light/board/#", QoS::AtMostOnce).await;
|
||||||
}
|
}
|
||||||
|
|
||||||
fn broadcast_desktop_online(&mut self) {
|
fn broadcast_desktop_online(&mut self) {
|
||||||
@ -42,7 +42,7 @@ impl MqttConnection {
|
|||||||
Ok(now_str) => {
|
Ok(now_str) => {
|
||||||
match client
|
match client
|
||||||
.publish(
|
.publish(
|
||||||
"screen-bg-light/desktop/online",
|
"display-ambient-light/desktop/online",
|
||||||
QoS::AtLeastOnce,
|
QoS::AtLeastOnce,
|
||||||
false,
|
false,
|
||||||
now_str.as_bytes(),
|
now_str.as_bytes(),
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"distDir": "../dist"
|
"distDir": "../dist"
|
||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "screen-bg-light-desktop",
|
"productName": "display-ambient-light-desktop",
|
||||||
"version": "0.0.0"
|
"version": "0.0.0"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
@ -57,7 +57,7 @@
|
|||||||
"fullscreen": false,
|
"fullscreen": false,
|
||||||
"height": 600,
|
"height": 600,
|
||||||
"resizable": true,
|
"resizable": true,
|
||||||
"title": "screen-bg-light-desktop",
|
"title": "display-ambient-light-desktop",
|
||||||
"width": 800
|
"width": 800
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user