We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 109701d commit 829bc65Copy full SHA for 829bc65
1 file changed
fastapi_tailwind/binary.py
@@ -38,7 +38,9 @@ def get_tailwind_binary_path() -> Optional[Path]:
38
elif operating_system == "Linux":
39
path = binaries_path.joinpath(f"tailwindcss-linux-{cpu_architecture}")
40
41
- # On linux the binary is required to be executable.
+ if operating_system == "Linux" or operating_system == "Darwin":
42
+ # On linux and mac the binary is required to be executable.
43
+
44
if path.exists():
45
is_executable = os.access(path, os.X_OK)
46
0 commit comments