Skip to content

Commit ff9566b

Browse files
committed
add directions for macOS users on system security
1 parent 8d706f6 commit ff9566b

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,16 @@ jobs:
8989
# Change the rpath to look in the lib directory next to the executable
9090
install_name_tool -change "$lib" "@executable_path/lib/$libname" "$exe"
9191
done
92+
93+
# Ad-hoc code sign to avoid some security warnings
94+
codesign --force --deep --sign - "$exe"
95+
fi
96+
done
97+
98+
# Also sign the libraries
99+
for lib in artifacts/lib/*.dylib; do
100+
if [ -f "$lib" ]; then
101+
codesign --force --sign - "$lib"
92102
fi
93103
done
94104
elif [ "$RUNNER_OS" == "Linux" ]; then

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# meshsdfilter-builder
1+
# meshdenoiser
22

33
A tiny, cross‑platform CMake repo that **uses the MeshSDFilter code from AliceVision** at commit
44
`14b0b8f8b3026765d165dfc3f219ed8c53635f52` and builds the two binaries:
@@ -55,9 +55,30 @@ cmake --build build --config Release
5555
# Binaries will be under build/Release/
5656
```
5757

58-
## CI
58+
## CI / Pre-built Binaries
5959
- GitHub Actions build and upload artifacts for Ubuntu, macOS, Windows.
6060
- Artifacts include the two binaries per platform (`MeshSDFilter`, `MeshDenoiser`).
61+
- Download the latest release binaries from the [Releases page](../../releases).
62+
63+
### macOS Security Note
64+
When running downloaded binaries on macOS, you may see a security warning. To fix this:
65+
66+
**Option 1 - Right-click method (Recommended):**
67+
1. Right-click (or Control+click) on `MeshDenoiser` or `MeshSDFilter`
68+
2. Select "Open" from the menu
69+
3. Click "Open" in the security dialog
70+
4. After doing this once, you can run the binary normally from Terminal
71+
72+
**Option 2 - Command line:**
73+
```bash
74+
# Remove quarantine attribute from all files in the download
75+
xattr -cr meshdenoiser-macos/
76+
```
77+
78+
**Option 3 - System Settings:**
79+
1. Try to run the binary (it will be blocked)
80+
2. Go to System Settings → Privacy & Security
81+
3. Scroll down and click "Open Anyway" next to the blocked app message
6182

6283
## Licensing
6384
- **MeshSDFilter** code is BSD-3-Clause (see `LICENSES/MeshSDFilter-BSD-3-Clause.txt`).

0 commit comments

Comments
 (0)