Commit fac3779
Use /bin/sh to launch Java process to bypass Gatekeeper restrictions
When macOS downloads an app, Gatekeeper/translocation can prevent
direct execution of bundled binaries via Process.executableURL.
Using /bin/sh -c to invoke the java binary avoids this issue.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 65696d8 commit fac3779
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
188 | 195 | | |
189 | 196 | | |
190 | 197 | | |
| |||
0 commit comments