Skip to content

Commit

Permalink
Move CEF resources path
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij committed Sep 12, 2024
1 parent 0ca4daa commit d547e8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Client/cefweb/CWebCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ bool CWebCore::Initialise()
#else
CefString(&settings.browser_subprocess_path).FromWString(FromUTF8(CalcMTASAPath("MTA\\CEF\\CEFLauncher_d.exe")));
#endif
CefString(&settings.resources_dir_path).FromWString(FromUTF8(CalcMTASAPath("MTA\\CEF")));
CefString(&settings.cache_path).FromWString(FromUTF8(CalcMTASAPath("MTA\\CEF\\cache")));
CefString(&settings.locales_dir_path).FromWString(FromUTF8(CalcMTASAPath("MTA\\CEF\\locales")));
CefString(&settings.log_file).FromWString(FromUTF8(CalcMTASAPath("MTA\\CEF\\cefdebug.txt")));
Expand Down
6 changes: 3 additions & 3 deletions utils/buildactions/install_cef.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ premake.modules.install_cef = {}
local CEF_PATH = "vendor/cef3/cef/"
local CEF_TEMP_PATH = "vendor/cef3/"
local CEF_URL_PREFIX = "https://cef-builds.spotifycdn.com/cef_binary_"
local CEF_URL_SUFFIX = "_windows32_beta_minimal.tar.bz2"
local CEF_URL_SUFFIX = "_windows32_minimal.tar.bz2"

-- Change here to update CEF version
local CEF_VERSION = "129.0.4+g9774348+chromium-129.0.6668.29"
local CEF_HASH = "70b021ac8921de30c31241d85be8ad5abc65adec4283aff726600319f27034b1"
local CEF_VERSION = "128.4.8+g88b5034+chromium-128.0.6613.114"
local CEF_HASH = "eb5a84db83b51f6d6be43e9bb7f8a557e86dd056a9a565251c28c301feb1c9ef"

function make_cef_download_url()
return CEF_URL_PREFIX..http.escapeUrlParam(CEF_VERSION)..CEF_URL_SUFFIX
Expand Down
2 changes: 1 addition & 1 deletion vendor/cef3/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ project "CEF"
postbuildcommands {
"{COPY} \""..cef_path.."Release/*\" \""..path.."mta\"",
"{COPY} \""..cef_path.."Resources/icudtl.dat\" \""..path.."mta\"",
"{COPY} \""..cef_path.."Resources/*.pak\" \""..path.."mta/cef\"",
"{COPY} \""..cef_path.."Resources/*.pak\" \""..path.."mta\"",
"{COPY} \""..cef_path.."Resources/locales/*\" \""..path.."mta/cef/locales\""
}

Expand Down

0 comments on commit d547e8b

Please sign in to comment.