Skip to content

Commit 2139384

Browse files
committed
refactor: replace www.lua by lua everywhere
1 parent 057537f commit 2139384

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

LuaInstaller.Core/LuaWebsite.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static class LuaWebsite
1717
private const double MAX_BASE = 2.3;
1818
private const int MAX_RETRIES = 3;
1919

20-
private const string LUA_DOWNLOAD_URL = "https://www.lua.org/ftp";
20+
private const string LUA_DOWNLOAD_URL = "https://lua.org/ftp/";
2121
private static readonly HttpClient _client;
2222
private static readonly LuaVersion[] _empty;
2323

@@ -29,7 +29,7 @@ static LuaWebsite()
2929

3030
private static string GetDownloadUrlForLuaVersion(LuaVersion version)
3131
{
32-
return string.Format("{0}/lua-{1}.tar.gz", LUA_DOWNLOAD_URL, version.Version);
32+
return string.Format("{0}lua-{1}.tar.gz", LUA_DOWNLOAD_URL, version.Version);
3333
}
3434

3535
private static int GenerateRandomInt32()

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77

88
## Overview
99

10-
The toolset available here aids in the process to download, build and install Lua versions on Windows, downloading Lua source code directly from [https://www.lua.org](https://www.lua.org).
10+
The toolset available here aids in the process to download, build and install Lua versions on Windows, downloading Lua source code directly from [https://lua.org](https://lua.org).
11+
12+
> [!NOTE]
13+
>
14+
> To build Lua for x86 or x64, you must be running a standard 64-bit Windows (no ARM64). Moreover, you are required to be running 64-bit Windows on ARM to build Lua targeting the ARM64 architecture.
1115
1216
## Table of Contents
1317
* [For End-Users](#for-end-users)

0 commit comments

Comments
 (0)