Skip to content

Conversation

@Crauzer
Copy link
Member

@Crauzer Crauzer commented Jan 5, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR transitions the cslol-patcher dependency from being fetched at build time from GitHub releases to being vendored locally in the repository. The vendored files include the DLL, import library, and header file for the Windows patcher.

  • Adds vendor files for cslol-patcher (DLL, lib, and header) to cslol-tools/vendor/cslol-patcher/
  • Updates CMake configuration to use imported library instead of FetchContent
  • Modifies .gitignore to allow vendor files that would otherwise be excluded

Reviewed changes

Copilot reviewed 2 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
cslol-tools/vendor/cslol-patcher/cslol-dll.lib Import library for the cslol-patcher DLL
cslol-tools/vendor/cslol-patcher/cslol-api.h C API header file defining the patcher interface
cslol-tools/CMakeLists.txt Changes from FetchContent to IMPORTED library targeting local vendor files
cslol-tools/dep/CMakeLists.txt Modifies miniz library setup (appears unrelated to PR purpose)
.gitignore Adds exceptions to allow vendor files and ignores build directory

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 79 to 86
# add_subdirectory(${miniz_SOURCE_DIR} ${miniz_BINARY_DIR})
add_library(miniz STATIC
${miniz_SOURCE_DIR}/miniz.c
${miniz_SOURCE_DIR}/miniz_zip.c
${miniz_SOURCE_DIR}/miniz_tinfl.c
${miniz_SOURCE_DIR}/miniz_tdef.c
)
target_include_directories(miniz PUBLIC ${miniz_SOURCE_DIR})
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change to the miniz library setup appears unrelated to introducing the local patcher dll. The modification from using add_subdirectory to manually creating the library should either be explained in the PR description or moved to a separate commit/PR for better change tracking and easier review.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fixed by bumping the commit at

GIT_TAG d9d197c92606da7be59cee2be2fbc6830b73c480 # 3.0.2

Newer versions have cmake version bumped, see https://github.com/richgel999/miniz/commits/master/

Should also fix:

  The BUILD_COMMAND keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  ARG_BUILD_COMMAND variable rather than setting it to an empty string.

While at it. All of it in a new PR problem.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Copilot AI commented Jan 5, 2026

@moonshadow565 I've opened a new pull request, #375, to work on those changes. Once the pull request is ready, I'll request review from you.

@moonshadow565
Copy link
Collaborator

@moonshadow565 moonshadow565 merged commit 7eafc43 into master Jan 5, 2026
1 check passed
@Crauzer Crauzer deleted the update-cslol branch January 5, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants