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