Treasury & Bank Transfer Management System — سامانه مدیریت خزانهداری و حوالههای بانکی
fix(windows): avoid PowerShell HOME automatic readonly variable in NSIS installed smoke
davoodmehraban89 committed
Oct 17, 2026 at 00:37 UTC
f61a3ff6af6cff35113c2e3d263cfc2e37d713a3
1 file changed
+2
-2
scripts/windows-vm-treasury-install-smoke.ps1
+2
-2
@@ -45,8 +45,8 @@ try {
45
}
46
if(!$report.httpReady){throw 'INSTALLED_APP_READINESS_TIMEOUT'}
47
if(!$report.bankAdapterDisabled){throw 'INSTALLED_APP_BANK_NOT_DISABLED'}
48
- $home=Invoke-WebRequest 'http://127.0.0.1:3210' -TimeoutSec 12
49
- $report.homeHtmlLoaded=($home.StatusCode -eq 200 -and $home.Content -match 'TreasuryFlow')
48
+ $homePage=Invoke-WebRequest 'http://127.0.0.1:3210' -TimeoutSec 12
49
+ $report.homeHtmlLoaded=($homePage.StatusCode -eq 200 -and $homePage.Content -match 'TreasuryFlow')
50
if(!$report.homeHtmlLoaded){throw 'INSTALLED_APP_HTML_FAILED'}
51
$report.outcome='NSIS_INSTALL_AND_INSTALLED_RUNTIME_PASS'
52
'A REAL NSIS Setup was silently installed under runner.temp, and the installed TreasuryFlow executable passed local readiness and HTML checks.' >> $env:GITHUB_STEP_SUMMARY