From 996544cd604f435464a04694f844bc2c4b6fb219 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 4 Jan 2026 17:17:03 +0800 Subject: Replace compile_info.rs deletion with template copy in deploy scripts --- deploy.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy.ps1') diff --git a/deploy.ps1 b/deploy.ps1 index d077028..5b929f2 100644 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -9,7 +9,7 @@ if ($LASTEXITCODE -ne 0) { # Build succeeded # Export if (cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter) { - Remove-Item -Path src\data\compile_info.rs -ErrorAction SilentlyContinue + Copy-Item -Path src\data\compile_info.rs.template -Destination src\data\compile_info.rs -Force ISCC /Q .\setup\windows\setup_jv_cli.iss } } -- cgit