mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix building and packaging 64-bit LOOT
No installer support, as that requires a bit more thought, especially regarding Registry keys.
This commit is contained in:
+8
-1
@@ -357,12 +357,19 @@ IF (CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
)
|
||||
|
||||
# Copy CEF binaries.
|
||||
FOREACH(cef_dll libcef.dll natives_blob.bin snapshot_blob.bin d3dcompiler_47.dll libEGL.dll libGLESv2.dll wow_helper.exe)
|
||||
FOREACH(cef_dll libcef.dll natives_blob.bin snapshot_blob.bin d3dcompiler_47.dll libEGL.dll libGLESv2.dll)
|
||||
add_custom_command(TARGET LOOT POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${CMAKE_SOURCE_DIR}/${CEF_ROOT}/$<CONFIGURATION>/${cef_dll}"
|
||||
$<TARGET_FILE_DIR:LOOT>/${cef_dll})
|
||||
ENDFOREACH()
|
||||
|
||||
IF (PROJECT_ARCH MATCHES "32")
|
||||
add_custom_command(TARGET LOOT POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${CMAKE_SOURCE_DIR}/${CEF_ROOT}/$<CONFIGURATION>/wow_helper.exe"
|
||||
$<TARGET_FILE_DIR:LOOT>/wow_helper.exe)
|
||||
ENDIF ()
|
||||
ELSE ()
|
||||
# Copy CEF binaries.
|
||||
FOREACH(cef_dll libcef.so natives_blob.bin snapshot_blob.bin chrome-sandbox)
|
||||
|
||||
+4
-1
@@ -58,7 +58,6 @@ function createAppArchive(release_path, dest_path) {
|
||||
'libEGL.dll',
|
||||
'libGLESv2.dll',
|
||||
'libcef.dll',
|
||||
'wow_helper.exe',
|
||||
'natives_blob.bin',
|
||||
'snapshot_blob.bin',
|
||||
'cef.pak',
|
||||
@@ -67,6 +66,10 @@ function createAppArchive(release_path, dest_path) {
|
||||
'devtools_resources.pak',
|
||||
'icudtl.dat'
|
||||
];
|
||||
|
||||
if (helpers.fileExists(path.join(release_path, 'wow_helper.exe'))) {
|
||||
binaries.push('wow_helper.exe');
|
||||
}
|
||||
} else {
|
||||
binaries = [
|
||||
'LOOT',
|
||||
|
||||
Reference in New Issue
Block a user