Prefer wtsapi32.dll for Windows users

This commit is contained in:
Sainan 2025-06-04 12:47:46 +02:00
parent ca7bd6e702
commit 7d4dab61c3
2 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@
</head> </head>
<body> <body>
<h1>OpenWF Bootstrapper Manual</h1> <h1>OpenWF Bootstrapper Manual</h1>
<p>While the main feature of the bootstrapper (dwmapi.dll, wtsapi32.dll, or version.dll) is to use a custom server with the game, it has other features as well.</p> <p>While the main feature of the bootstrapper (wtsapi32.dll, dwmapi.dll, or version.dll) is to use a custom server with the game, it has other features as well.</p>
<h2>Client Config.json</h2> <h2>Client Config.json</h2>
<p>The bootstrapper's configuration is in <code>OpenWF/Client Config.json</code> relative to your game folder. It has the following fields:</p> <p>The bootstrapper's configuration is in <code>OpenWF/Client Config.json</code> relative to your game folder. It has the following fields:</p>
<ul> <ul>

View File

@ -1,9 +1,9 @@
Write-Host "Fetching latest version..." Write-Host "Fetching latest version..."
$latest = Invoke-RestMethod -Uri "https://openwf.io/supplementals/client%20drop-in/meta" -Method Get $latest = Invoke-RestMethod -Uri "https://openwf.io/supplementals/client%20drop-in/meta" -Method Get
$dll_path = "../dwmapi.dll"
if (Test-Path "../wtsapi32.dll") {
$dll_path = "../wtsapi32.dll" $dll_path = "../wtsapi32.dll"
if (Test-Path "../dwmapi.dll") {
$dll_path = "../dwmapi.dll"
} }
if (Test-Path "../version.dll") { if (Test-Path "../version.dll") {
$dll_path = "../version.dll" $dll_path = "../version.dll"