From 988df508bab0ee4d10518ebf4d73ef099fa30a0d Mon Sep 17 00:00:00 2001 From: BTJ <2407356083@qq.com> Date: Tue, 20 Feb 2024 12:18:25 +0800 Subject: [PATCH] v1.1.1 --- UPDATE_LOG.md | 7 +++++++ package.json | 2 +- src-tauri/src/main.rs | 2 +- src-tauri/tauri.conf.json | 2 +- src/scripts/renderer.js | 2 +- tsconfig.json | 4 ++-- 6 files changed, 13 insertions(+), 6 deletions(-) diff --git a/UPDATE_LOG.md b/UPDATE_LOG.md index 27f453c..b138ea1 100644 --- a/UPDATE_LOG.md +++ b/UPDATE_LOG.md @@ -1,5 +1,12 @@ # Updater Log +## v1.1.1 + +包含BUG更新 +- 修复: 下载相关 + - 修复下载完成时的报错 "找不到指定的路径" + - 修正部分文本 + ## v1.1.0 包含逻辑/BUG更新,以及新功能 diff --git a/package.json b/package.json index e910b25..9e98e98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bilitools", - "version": "1.1.0", + "version": "1.1.1", "description": "bilibili工具箱,视频/番剧+伴音/音乐下载,三种登录方式,仅用作学习用途。", "type": "module", "scripts": { diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 073ec9e..296f774 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -309,6 +309,7 @@ async fn process_queue(window: tauri::Window, date: String) -> Result<(), String } async fn process_download(window: tWindow, download_info: VideoInfo) -> Result<(), String> { + fs::create_dir_all(&download_info.output_path.parent().unwrap()).map_err(|e| handle_err(window.clone(), e))?; let action = &download_info.action; for task in &download_info.tasks { if let Ok(_) = download_file(window.clone(), task.clone(), download_info.gid.clone()).await { @@ -448,7 +449,6 @@ async fn merge_video_audio(window: tWindow, info: VideoInfo) -> Result').addClass("video-block-opt-cont audio"); - const text = $('
').addClass("video-block-opt-text").text("分辨率/画质"); + const text = $('
').addClass("video-block-opt-text").text("比特率/音质"); const split = $('
').addClass("video-block-split"); const opt = $('
').addClass("video-block-opt audio"); const downBtn = $('