Updated the readme files. (#35)

* Updated the readme files.

* Hopefully corrected the eula.txt check

* redirect windows users to README_WINDOWS

* Fix typo that broke everything
This commit is contained in:
Sophia
2024-03-06 01:27:17 +02:00
committed by GitHub
parent fcf7eef2ff
commit f2fa4d4514
4 changed files with 86 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ if ($LASTEXITCODE -eq 0) {
# Inform about the EULA and either force agree or exit.
if (!(Test-Path "eula.txt") -or (Get-Content eula.txt | ConvertFrom-StringData).eula) {
if (!(Test-Path "eula.txt") -or ((Get-Content eula.txt | ConvertFrom-StringData).eula -eq $false)) {
Write-Host -ForegroundColor Yellow "In order to run a Minecraft server, you need to agree to the Minecraft EULA."
Write-Host -ForegroundColor Yellow "You can read the Minecraft EULA here: https://aka.ms/MinecraftEULA"
Write-Host -ForegroundColor Yellow "For your convenience, this script can automatically agree for you."