[fix] powershell black screens and try to solve update re-start not working

This commit is contained in:
2025-11-08 19:14:18 +08:00
parent c50fedd305
commit 11afc6dc9e
12 changed files with 357 additions and 281 deletions

View File

@@ -21,6 +21,13 @@ strip = true # Remove debug symbols
opt-level = 0 # 关闭优化
debug = true # 保留调试信息
[profile.fast-release]
inherits = "release"
lto = false # 关闭链接时优化,加快构建速度
codegen-units = 16 # 增加并行编译单元,加快构建速度
strip = false # 不剥离调试符号,加快构建速度
opt-level = 2 # 使用适中的优化级别(比 release 的 "s" 更快)
[build-dependencies]
tauri-build = { version = "2.5.1", features = [] }