diff --git a/kiwixbuild/buildenv.py b/kiwixbuild/buildenv.py index 9fbfb9d..0c10157 100644 --- a/kiwixbuild/buildenv.py +++ b/kiwixbuild/buildenv.py @@ -37,15 +37,6 @@ class NeutralEnv: def detect_platform(self): _platform = platform.system() self.distname = _platform - if _platform == "Windows": - print( - "ERROR: kiwix-build is not intented to run on Windows platform.\n" - "It should probably not work, but well, you still can have a try.", - file=sys.stderr, - ) - cont = input("Do you want to continue ? [y/N]") - if cont.lower() != "y": - sys.exit(0) if _platform == "Linux": self.distname = distro.id() if self.distname == "ubuntu": diff --git a/kiwixbuild/configs/native.py b/kiwixbuild/configs/native.py index ce1611e..20c55a5 100644 --- a/kiwixbuild/configs/native.py +++ b/kiwixbuild/configs/native.py @@ -29,7 +29,7 @@ class NativeConfigInfo(ConfigInfo): class NativeDyn(NativeConfigInfo): name = "native_dyn" static = False - compatible_hosts = ["fedora", "debian", "Darwin", "almalinux"] + compatible_hosts = ["fedora", "debian", "Darwin", "almalinux", "Windows"] class NativeStatic(NativeConfigInfo):