Skip to content

Commit 8631e05

Browse files
Synchronize changes from 1.6 master branch [ci skip]
a5d97d6 Use BASE_URL in install_data.lua build action a9bfeef Update client en_US pot
2 parents f5ae77e + a5d97d6 commit 8631e05

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

utils/buildactions/install_data.lua

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@ premake.modules.install_data = {}
55
-- Config variables
66
local BIN_DIR = "Bin"
77
local DATA_DIR = "Shared/data/MTA San Andreas"
8+
local BASE_URL = "https://mirror-cdn.multitheftauto.com/bdata/"
89

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"
10+
local NET_PATH_X86_WIN = BASE_URL .. "net.dll"
11+
local NET_PATH_X64_WIN = BASE_URL .. "net_64.dll"
12+
local NET_PATH_ARM64_WIN = BASE_URL .. "net_arm64.dll"
13+
local NETC_PATH_WIN = BASE_URL .. "netc.dll"
1314

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"
15+
local NET_PATH_X86_LINUX = BASE_URL .. "net.so"
16+
local NET_PATH_X64_LINUX = BASE_URL .. "net_64.so"
17+
local NET_PATH_ARM_LINUX = BASE_URL .. "net_arm.so"
18+
local NET_PATH_ARM64_LINUX = BASE_URL .. "net_arm64.so"
1819

19-
local NET_PATH_X64_MACOS = "https://mirror-cdn.multitheftauto.com/bdata/net.dylib"
20+
local NET_PATH_X64_MACOS = BASE_URL .. "net.dylib"
2021

2122
newaction {
2223
trigger = "install_data",

0 commit comments

Comments
 (0)