构建修正

This commit is contained in:
zhongluofeng
2026-08-27 18:32:33 +08:00
parent d21649c60e
commit 28e0c4664a
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "thing", "name": "thing",
"private": true, "private": true,
"version": "26.8.3", "version": "26.8.4",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
+1 -1
View File
@@ -5951,7 +5951,7 @@ dependencies = [
[[package]] [[package]]
name = "thing" name = "thing"
version = "26.8.3" version = "26.8.4"
dependencies = [ dependencies = [
"axum 0.7.9", "axum 0.7.9",
"base64 0.22.1", "base64 0.22.1",
+6 -6
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "thing" name = "thing"
version = "26.8.3" version = "26.8.4"
description = "A Tauri App" description = "A Tauri App"
authors = ["you"] authors = ["you"]
edition = "2021" edition = "2021"
@@ -69,7 +69,7 @@ windows-sys = { version = "0.52", features = [
"Win32_Storage_Xps", "Win32_Storage_Xps",
"Win32_Storage_FileSystem", "Win32_Storage_FileSystem",
] } ] }
# Explorer 陷第ヲ雁コ企€カ・ョ陟門「難ス」ツ€雎ャ蜈キ・シ繝サShellWindows COM繝サ莨夲スシ螢サ・サ繝サ・シ蜍溘・騾包スィ陋サ・ー騾ァ繝サfeature繝サ譴ァ閠瑚崕・カ驛帛・・ッ蜿ー・ス骰具スァ・ッ # Explorer 髯キ隨ャ・ヲ髮・スコ莨・€・カ繝サ・ョ髯滄摩・「髮」・ス・」・つ€髮趣スャ陷茨スキ繝サ・シ郢晢スサShellWindows COM郢晢スサ闔ィ螟イ・ス・シ陞「・サ繝サ・サ郢晢スサ繝サ・シ陷肴コ倥・鬨セ蛹・スス・ィ髯具スサ繝サ・ー鬨セ・ァ郢晢スサfeature郢晢スサ隴エ・ァ髢迹壼エ輔・・カ鬩帛ク帙・繝サ・ッ陷ソ・ー繝サ・ス鬪ー蜈キ・ス・ァ繝サ・ッ
windows = { version = "0.52", features = [ windows = { version = "0.52", features = [
"Win32_Foundation", "Win32_Foundation",
"Win32_System_Com", "Win32_System_Com",
@@ -82,14 +82,14 @@ windows = { version = "0.52", features = [
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies] [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-autostart = "2" tauri-plugin-autostart = "2"
# ===== 构建性能 ===== # ===== 编译优化 =====
# dev 增量编译加速:仅保留行号级调试信息(panic 仍显示 文件:行号), # dev 构建启用增量编译 + 行号级调试(提速本地迭代),仅影响 `tauri dev`
# 显著减少本 crate 的代码生成量与链接体积,加快 `tauri dev` 的 Rust 重编。
[profile.dev] [profile.dev]
incremental = true incremental = true
debug = "line-tables-only" debug = "line-tables-only"
# release 构建瘦身:去符号 + LTO,减小安装包体积 # release 譫・サコ逖ヲ霄ォ・壼悉隨ヲ蜿キ + LTO・悟㍼蟆丞ョ芽」・桁菴鍋ァッ
[profile.release] [profile.release]
strip = true strip = true
lto = true lto = true
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "thing", "productName": "thing",
"version": "26.8.3", "version": "26.8.4",
"identifier": "thing.lfeng.me", "identifier": "thing.lfeng.me",
"build": { "build": {
"beforeDevCommand": "bun run dev", "beforeDevCommand": "bun run dev",