Skip to content

Commit 02b6184

Browse files
committed
update mirror links to use CDN
1 parent 17f4f6c commit 02b6184

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Download DirectX
2323
if: steps.cache-dxfiles.outputs.cache-hit != 'true'
24-
run: Invoke-WebRequest https://mirror.mtasa.com/bdata/DXFiles.zip -OutFile utils/DXFiles.zip
24+
run: Invoke-WebRequest https://mirror-cdn.multitheftauto.com/bdata/DXFiles.zip -OutFile utils/DXFiles.zip
2525
shell: powershell
2626

2727
- name: Extract DirectX

Shared/sdk/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
//
77
// To compile a client for development and debugging purposes:
88
// 1. set MTASA_VERSION_TYPE to VERSION_TYPE_CUSTOM
9-
// 2. Use netc.dll from https://mirror.mtasa.com/bdata/netc.dll (preferably run utils/buildactions/install_data.lua)
9+
// 2. Use netc.dll from https://mirror-cdn.multitheftauto.com/bdata/netc.dll (preferably run utils/buildactions/install_data.lua)
1010
//
1111
// To compile a client for mass consumption by players (releasing your own "MTA fork"):
1212
// 1. set MTASA_VERSION_TYPE to VERSION_TYPE_UNSTABLE
13-
// 2. Use netc.dll from https://mirror.mtasa.com/bdata/netc.dll (preferably run utils/buildactions/install_data.lua)
13+
// 2. Use netc.dll from https://mirror-cdn.multitheftauto.com/bdata/netc.dll (preferably run utils/buildactions/install_data.lua)
1414
//
1515
// Per the above, take note of AC constraints of building a custom client or fork (see https://wiki.multitheftauto.com/wiki/Forks)
1616
//

utils/buildactions/install_data.lua

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ premake.modules.install_data = {}
66
local BIN_DIR = "Bin"
77
local DATA_DIR = "Shared/data/MTA San Andreas"
88

9-
local NET_PATH_X86_WIN = "https://mirror.mtasa.com/bdata/net.dll"
10-
local NET_PATH_X64_WIN = "https://mirror.mtasa.com/bdata/net_64.dll"
11-
local NET_PATH_ARM64_WIN = "https://mirror.mtasa.com/bdata/net_arm64.dll"
12-
local NETC_PATH_WIN = "https://mirror.mtasa.com/bdata/netc.dll"
9+
local NET_PATH_X86_WIN = "https://mirror-cdn.multitheftauto.com/bdata/net.dll"
10+
local NET_PATH_X64_WIN = "https://mirror-cdn.multitheftauto.com/bdata/net_64.dll"
11+
local NET_PATH_ARM64_WIN = "https://mirror-cdn.multitheftauto.com/bdata/net_arm64.dll"
12+
local NETC_PATH_WIN = "https://mirror-cdn.multitheftauto.com/bdata/netc.dll"
1313

14-
local NET_PATH_X86_LINUX = "https://mirror.mtasa.com/bdata/net.so"
15-
local NET_PATH_X64_LINUX = "https://mirror.mtasa.com/bdata/net_64.so"
16-
local NET_PATH_ARM_LINUX = "https://mirror.mtasa.com/bdata/net_arm.so"
17-
local NET_PATH_ARM64_LINUX = "https://mirror.mtasa.com/bdata/net_arm64.so"
14+
local NET_PATH_X86_LINUX = "https://mirror-cdn.multitheftauto.com/bdata/net.so"
15+
local NET_PATH_X64_LINUX = "https://mirror-cdn.multitheftauto.com/bdata/net_64.so"
16+
local NET_PATH_ARM_LINUX = "https://mirror-cdn.multitheftauto.com/bdata/net_arm.so"
17+
local NET_PATH_ARM64_LINUX = "https://mirror-cdn.multitheftauto.com/bdata/net_arm64.so"
1818

19-
local NET_PATH_X64_MACOS = "https://mirror.mtasa.com/bdata/net.dylib"
19+
local NET_PATH_X64_MACOS = "https://mirror-cdn.multitheftauto.com/bdata/net.dylib"
2020

2121
newaction {
2222
trigger = "install_data",

win-build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set VSWHERE=utils\vswhere.exe
44
rem Download vswhere (command line utility to find MSBuild path)
55
if not exist %VSWHERE% (
66
echo vswhere utility doesn't exist. Downloading...
7-
powershell -Command "Invoke-WebRequest https://mirror.mtasa.com/bdata/vswhere.exe -OutFile %VSWHERE%"
7+
powershell -Command "Invoke-WebRequest https://mirror-cdn.multitheftauto.com/bdata/vswhere.exe -OutFile %VSWHERE%"
88
)
99

1010
rem Find MSBuild installation path

0 commit comments

Comments
 (0)