From a6713ec1bd90a636ae1ce55a49755810942885ea Mon Sep 17 00:00:00 2001 From: Cyd Date: Fri, 17 Jul 2026 07:06:42 -0500 Subject: [PATCH] Deploy: package.ps1 stages ALL conf templates, not two by name vwetest.conf.tmpl was never staged, so fresh installs had no conf for the test mode ("vwetest.conf not found under root"). Glob deploy\*.conf.tmpl and log the staged set. Co-Authored-By: Claude Fable 5 --- emulator/deploy/package.ps1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/emulator/deploy/package.ps1 b/emulator/deploy/package.ps1 index b0739c8..86c5231 100644 --- a/emulator/deploy/package.ps1 +++ b/emulator/deploy/package.ps1 @@ -57,9 +57,12 @@ $dlls = Get-ChildItem (Join-Path $dbDir '*.dll') -ErrorAction SilentlyContinue if ($dlls) { $dlls | ForEach-Object { Copy-Item $_.FullName $root } ; Log "copied $($dlls.Count) DLL(s) beside dosbox-x.exe" } else { Log "no DLLs beside dosbox-x.exe (static build -- only Windows system DLLs + Npcap's wpcap needed)" } -# conf templates + configure.ps1 -Copy-Item (Join-Path $Emu 'deploy\net_loop.conf.tmpl') $root -Copy-Item (Join-Path $Emu 'deploy\net_rp.conf.tmpl') $root +# conf templates (ALL of them -- forgetting one strands its launch mode on +# fresh installs, as vwetest.conf.tmpl proved) + configure.ps1 +$tmpls = Get-ChildItem (Join-Path $Emu 'deploy\*.conf.tmpl') +if (-not $tmpls) { throw "no conf templates in deploy\" } +$tmpls | ForEach-Object { Copy-Item $_.FullName $root } +Log "staged $($tmpls.Count) conf template(s): $(($tmpls | ForEach-Object BaseName) -join ', ')" Copy-Item (Join-Path $Emu 'deploy\configure.ps1') (Join-Path $root 'deploy') # AWE32 ROM