Skip to content

Commit 328ea8f

Browse files
committed
Remove x64 for macOS
1 parent 3300770 commit 328ea8f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ workspace "MTASA"
2626
configurations {"Debug", "Release", "Nightly"}
2727

2828
if os.host() == "macosx" then
29-
platforms { "x64", "arm64" }
29+
platforms { "arm64" }
3030
elseif os.host() == "windows" then
3131
platforms { "x86", "x64", "arm64" }
3232
else

utils/buildactions/install_data.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ newaction {
112112
print(string.format("Listen, I ain't leaving here till you tell me where the macOS net builds are.\n " ..
113113
" So come on bub, for old times' sake, huh?\n\t%s[45m%s[37mDid you just call me... BLOB?%s[0m\n", c,c,c,c))
114114

115-
if not http.download_print_errors(NET_PATH_X64_MACOS, BIN_DIR.."/server/x64/net.dylib") then
115+
if not http.download_print_errors(NET_PATH_X64_MACOS, BIN_DIR.."/server/arm64/net.dylib") then
116116
os.exit(1)
117117
return
118118
end
119119

120-
if not os.copyfile(BIN_DIR.."/server/x64/net.dylib", BIN_DIR.."/server/x64/net_d.dylib") then
121-
errormsg("ERROR: Could not copy server/x64/net.dylib")
120+
if not os.copyfile(BIN_DIR.."/server/arm64/net.dylib", BIN_DIR.."/server/arm64/net_d.dylib") then
121+
errormsg("ERROR: Could not copy server/arm64/net.dylib")
122122
os.exit(1)
123123
return
124124
end

0 commit comments

Comments
 (0)