codesign tool.
Requirements
Compile your macOS launcher with builder.py. It creates the launcher app with the helper apps and CEF framework in this structure:Launcher.app/Contents/MacOS/llama_wine.
Note the path to the DirectGVR binaries for your Mac’s architecture (ARM or x64), for example /Users/<you>/direct/7.2.130/bin/macarm64/. Its bin folder has three .entitlements files you use when signing.
Sign the launcher
In Terminal, run these commands. Replace:devidwith the name of your code-signing certificate.directbinwith the path to the folder with the.entitlementsfiles.- Every
llamaname with your launcher’s names and files.
Check the signature
satisfies its Designated Requirement on any machine:
Execute permissions
These files need execute permission on every machine that runs the launcher:Launcher.app/Contents/MacOS/LauncherLauncher.app/Contents/Frameworks/Launcher Helper.app/MacOS/Launcher HelperLauncher.app/Contents/Frameworks/Launcher Helper (GPU).app/MacOS/Launcher Helper (GPU)Launcher.app/Contents/Frameworks/Launcher Helper (Renderer).app/MacOS/Launcher Helper (Renderer)Launcher.app/Contents/Frameworks/Chromium Embedded Framework.framework

