Browse Source

fix finalv1

finalv1
Backpack 2 months ago
parent
commit
580fb6fe4e
6 changed files with 10 additions and 10 deletions
  1. +2
    -2
      wavecontrol-test/src-tauri/Cargo.toml
  2. +1
    -1
      wavecontrol-test/src-tauri/src/lib.rs
  3. +4
    -4
      wavecontrol-test/src-tauri/tauri.conf.json
  4. +1
    -1
      wavecontrol-test/src-tauri/tauri.macos.conf.json
  5. +1
    -1
      wavecontrol-test/src/locales/en.ts
  6. +1
    -1
      wavecontrol-test/src/locales/zh.ts

+ 2
- 2
wavecontrol-test/src-tauri/Cargo.toml View File

@ -1,7 +1,7 @@
[package]
name = "Lazyeat"
name = "WaveControl"
version = "0.3.11"
description = "Lazyeat 手势识别"
description = "WaveControl 手势识别"
authors = ["https://github.com/maplelost"]
edition = "2021"

+ 1
- 1
wavecontrol-test/src-tauri/src/lib.rs View File

@ -8,7 +8,7 @@ fn greet(name: &str) -> String {
async fn start_sidecar(app: tauri::AppHandle) -> Result<String, String> {
let sidecar = app
.shell()
.sidecar("Lazyeat Backend")
.sidecar("WaveControl Backend")
.map_err(|e| format!("无法找到sidecar: {}", e))?;
let (_rx, _child) = sidecar

+ 4
- 4
wavecontrol-test/src-tauri/tauri.conf.json View File

@ -1,8 +1,8 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Lazyeat",
"productName": "WaveControl",
"version": "0.3.11",
"identifier": "com.Lazyeat.maplelost",
"identifier": "com.WaveControl.maplelost",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
@ -12,7 +12,7 @@
"app": {
"windows": [
{
"title": "Lazyeat",
"title": "WaveControl",
"width": 800,
"height": 600,
"devtools": true
@ -24,7 +24,7 @@
},
"bundle": {
"active": true,
"externalBin": ["bin/backend-py/Lazyeat Backend"],
"externalBin": ["bin/backend-py/WaveControl Backend"],
"resources": {
"bin/backend-py/_internal": "_internal/",
"../model": "model/",

+ 1
- 1
wavecontrol-test/src-tauri/tauri.macos.conf.json View File

@ -1,6 +1,6 @@
{
"$schema": "https://schema.tauri.app/config/2",
"identifier": "com.Lazyeat.maplelost",
"identifier": "com.WaveControl.maplelost",
"bundle": {
"resources": [],
"macOS": {

+ 1
- 1
wavecontrol-test/src/locales/en.ts View File

@ -40,7 +40,7 @@ export default {
"识别框高": "Recognition box height",
// 通知
"Lazyeat": "Lazyeat",
"WaveControl": "WaveControl",
"提示": "Tip",
"停止语音识别": "Stop Voice Recognition",
"手势识别": "Gesture Recognition",

+ 1
- 1
wavecontrol-test/src/locales/zh.ts View File

@ -38,7 +38,7 @@ export default {
"可以通过右键->检查->控制台->捏合手势->查看当前距离": "可以通过右键->检查->控制台->捏合手势->查看当前距离",
// 通知
"Lazyeat": "Lazyeat",
"WaveControl": "WaveControl",
"提示": "提示",
"停止语音识别": "停止语音识别",
"手势识别": "手势识别",

Loading…
Cancel
Save