feat: 将工具更名为 VideosDownTools,并完善黄豆登录与清单

This commit is contained in:
Nixevol
2026-10-25 01:58:29 +08:00
parent 7253217e18
commit 3c2105c786
27 changed files with 1349 additions and 237 deletions
+13 -13
View File
@@ -2701,19 +2701,6 @@ version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
[[package]]
name = "raptdrama"
version = "0.1.0"
dependencies = [
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-opener",
"webview2-com",
"windows-core 0.61.2",
]
[[package]]
name = "raw-window-handle"
version = "0.6.2"
@@ -4129,6 +4116,19 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "videosdowntools"
version = "0.1.0"
dependencies = [
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-opener",
"webview2-com",
"windows-core 0.61.2",
]
[[package]]
name = "vswhom"
version = "0.1.0"
+6 -4
View File
@@ -1,17 +1,19 @@
[package]
name = "raptdrama"
name = "videosdowntools"
version = "0.1.0"
description = "RaptDrama desktop shell"
description = "VideosDownTools desktop shell"
authors = ["nixevol"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "VideosDownTools"
path = "src/main.rs"
[lib]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "raptdrama_lib"
name = "videosdowntools_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
+2 -2
View File
@@ -2,7 +2,7 @@
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<title>RaptDrama Download Tools</title>
<title>VideosDownTools</title>
<style>
html, body { height: 100%; margin: 0; background: #101014; color: #f2f2f2; font: 16px/1.5 "Segoe UI", sans-serif; }
body { display: flex; align-items: center; justify-content: center; }
@@ -13,7 +13,7 @@
</head>
<body>
<main>
<h1>RaptDrama</h1>
<h1>VideosDownTools</h1>
<p id="status">程序正在启动</p>
</main>
<script>
+1 -1
View File
@@ -242,7 +242,7 @@ fn boot(handle: &AppHandle, window: &tauri::WebviewWindow) -> Result<(), String>
while Instant::now() < deadline {
if health_ok(port) {
let url = Url::parse(&format!("http://127.0.0.1:{port}/")).map_err(|err| err.to_string())?;
eprintln!("RaptDrama http://127.0.0.1:{port}/");
eprintln!("VideosDownTools http://127.0.0.1:{port}/");
let _ = std::io::Write::flush(&mut std::io::stderr());
window.navigate(url).map_err(|err| err.to_string())?;
return Ok(());
+1 -1
View File
@@ -2,5 +2,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
raptdrama_lib::run()
videosdowntools_lib::run()
}
+3 -3
View File
@@ -1,8 +1,8 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "RaptDrama",
"productName": "VideosDownTools",
"version": "0.1.0",
"identifier": "com.raptdrama.desktop",
"identifier": "com.videosdowntools.desktop",
"build": {
"beforeDevCommand": {
"script": "npm run build --prefix ui",
@@ -19,7 +19,7 @@
"windows": [
{
"label": "main",
"title": "RaptDrama Download Tools",
"title": "VideosDownTools",
"width": 1080,
"height": 800,
"center": true,