feat: add PowerShell firewall configuration command to UI

This commit is contained in:
CPTN Cosmo 2026-04-18 19:09:56 +02:00
parent e153a76b77
commit c15f965a2b
2 changed files with 12 additions and 1 deletions

View file

@ -191,6 +191,15 @@
</button>
</div>
</div>
<div class="code-block">
<span class="code-label">Windows (PowerShell)</span>
<div class="code-wrapper">
<code id="win-cmd">New-NetFirewallRule -DisplayName "XIVLauncher OTP" -Direction Inbound -RemoteAddress localhost -LocalPort 4646 -Protocol TCP -Action Allow</code>
<button class="btn-copy" onclick="copyToClipboard('win-cmd')" title="Copy to clipboard">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>
</button>
</div>
</div>
</div>
</div>