summaryrefslogtreecommitdiff
path: root/scripts/dev/deploy.ps1
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-20 14:16:49 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-20 14:16:49 +0800
commit6b22f7b7694fce530f84ba94c65c057450cca626 (patch)
treea5a43e0c7447852c25e1ba63a2830528ba82548c /scripts/dev/deploy.ps1
parentf94e23084aa7876d7d6afd8a780a074d84a0007c (diff)
Run jvn after successful export in deploy scripts
Diffstat (limited to 'scripts/dev/deploy.ps1')
-rw-r--r--scripts/dev/deploy.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/dev/deploy.ps1 b/scripts/dev/deploy.ps1
index beaf6a8..5332f1d 100644
--- a/scripts/dev/deploy.ps1
+++ b/scripts/dev/deploy.ps1
@@ -79,6 +79,10 @@ if ($LASTEXITCODE -ne 0) {
Write-Host "Deploying Command Line `".\.cargo\config.toml`""
if (cargo run --manifest-path tools/build_helper/Cargo.toml --quiet --bin exporter release > $null 2>&1) {
Copy-Item -Path templates\compile_info.rs.template -Destination src\data\compile_info.rs -Force
+ # After export, if jvn program exists, run jvn -v --no-banner -c
+ if (Get-Command jvn -ErrorAction SilentlyContinue) {
+ jvn -v --no-banner -c
+ }
Write-Host "Packing Installer `".\setup\windows\setup_jv_cli.iss`""
ISCC /Q .\scripts\setup\windows\setup_jv_cli.iss
}