Skip to content

Support Windows Build #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Invincibl-e
Copy link

Changes

This commit adds support for building the ReZygisk project on Windows platforms.

Why

Previously, building ReZygisk was primarily supported on Unix-like systems. By adding Windows build support, we enable developers who use Windows environments to compile and contribute to the project more easily. This change enhances cross-platform compatibility and broadens the contributor base.

Checkmarks

  • The modified functions have been tested.
  • Used the same indentation as the rest of the project.
  • Updated documentation (changelog).

Additional information

If you have any additional information, write it here

@@ -34,7 +34,7 @@ val CStandardFlags = arrayOf(
"-DMIN_KSU_VERSION=$minKsuVersion",
"-DMAX_KSU_VERSION=$maxKsuVersion",
"-DMIN_MAGISK_VERSION=$minMagiskVersion",
"-DZKSU_VERSION=\"$verName\""
"-DZKSU_VERSION=\\\"$verName\\\""
Copy link
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Author

Choose a reason for hiding this comment

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

Perhaps due to differences in platform command-line tools, on Windows, ZKSU_VERSION becomes

#define ZKSU_VERSION 1.0.0

instead of

#define ZKSU_VERSION "1.0.0"

.

@ThePedroo ThePedroo added confirmed This issue or pull request is confirmed to be done. enhancement New feature or request labels May 13, 2025
@ThePedroo
Copy link
Member

The additional " for ZKSU_VERSION makes Linux builds fail though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed This issue or pull request is confirmed to be done. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants