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,
|
||||
"version": "0.0.0",
|
||||
"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"
|
||||
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]]
|
||||
name = "dtoa"
|
||||
version = "0.4.8"
|
||||
@ -2457,30 +2481,6 @@ dependencies = [
|
||||
"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]]
|
||||
name = "sct"
|
||||
version = "0.7.0"
|
||||
|
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "screen-bg-light-desktop"
|
||||
name = "display-ambient-light-desktop"
|
||||
version = "0.0.0"
|
||||
description = "A Tauri App"
|
||||
authors = ["you"]
|
||||
|
@ -31,7 +31,7 @@ impl Manager {
|
||||
self.mqtt
|
||||
.client
|
||||
.publish(
|
||||
"screen-bg-light/desktop/colors",
|
||||
"display-ambient-light/desktop/colors",
|
||||
rumqttc::QoS::AtLeastOnce,
|
||||
false,
|
||||
payload,
|
||||
|
@ -29,7 +29,7 @@ impl MqttConnection {
|
||||
|
||||
async fn subscribe_board(&self) {
|
||||
self.client
|
||||
.subscribe("screen-bg-light/board/#", QoS::AtMostOnce).await;
|
||||
.subscribe("display-ambient-light/board/#", QoS::AtMostOnce).await;
|
||||
}
|
||||
|
||||
fn broadcast_desktop_online(&mut self) {
|
||||
@ -42,7 +42,7 @@ impl MqttConnection {
|
||||
Ok(now_str) => {
|
||||
match client
|
||||
.publish(
|
||||
"screen-bg-light/desktop/online",
|
||||
"display-ambient-light/desktop/online",
|
||||
QoS::AtLeastOnce,
|
||||
false,
|
||||
now_str.as_bytes(),
|
||||
|
@ -6,7 +6,7 @@
|
||||
"distDir": "../dist"
|
||||
},
|
||||
"package": {
|
||||
"productName": "screen-bg-light-desktop",
|
||||
"productName": "display-ambient-light-desktop",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
"tauri": {
|
||||
@ -57,7 +57,7 @@
|
||||
"fullscreen": false,
|
||||
"height": 600,
|
||||
"resizable": true,
|
||||
"title": "screen-bg-light-desktop",
|
||||
"title": "display-ambient-light-desktop",
|
||||
"width": 800
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user