Skip to content

Commit

Permalink
Test fix for build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dutchman101 committed Sep 15, 2024
1 parent 3eca027 commit 48239f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion Client/cefweb/CWebCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ bool CWebCore::Initialise()
CefString(&settings.browser_subprocess_path).FromWString(FromUTF8(CalcMTASAPath("MTA\\CEF\\CEFLauncher_d.exe")));
#endif
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")));
#ifdef MTA_DEBUG
settings.log_severity = cef_log_severity_t::LOGSEVERITY_INFO;
Expand Down
5 changes: 3 additions & 2 deletions Shared/installer/nightly.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,9 @@ SectionGroup /e "$(INST_SEC_CLIENT)" SECGCLIENT
# Below file was included in the deprecation referenced above, but already disabled in MTA beforehand
#File "${FILES_ROOT}\mta\CEF\cef_extensions.pak"

SetOutPath "$INSTDIR\MTA\CEF\locales"
File "${FILES_ROOT}\mta\CEF\locales\en-US.pak"
# CEF locales
SetOutPath "$INSTDIR\MTA\"
File "${FILES_ROOT}\mta\en-US.pak"


${If} "$(LANGUAGE_CODE)" != ""
Expand Down
2 changes: 1 addition & 1 deletion vendor/cef3/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ project "CEF"
"{COPY} \""..cef_path.."Release/*\" \""..path.."mta\"",
"{COPY} \""..cef_path.."Resources/icudtl.dat\" \""..path.."mta\"",
"{COPY} \""..cef_path.."Resources/*.pak\" \""..path.."mta\"",
"{COPY} \""..cef_path.."Resources/locales/*\" \""..path.."mta/cef/locales\""
"{COPY} \""..cef_path.."Resources/locales/*\" \""..path.."mta\""
}

filter "architecture:not x86"
Expand Down

0 comments on commit 48239f8

Please sign in to comment.