mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
0bb00baacf
- Added contrib/macos/README.txt with description of the cancer happening here. - Add provisioningprofiles that Apple wants to make things work properly - Made the entitlements files match the provisioningprofiles - Remove configured entitlements files; we *can't* change any of the things here because they are closedly tied to the provisioningprofiles -- which means if someone wants to build their own Lokinet, they have to replace a bunch of crap and change application IDs throughout. This is the hostile-to-open-source Apple way. - Remove unused old lokinet binary, as we're no longer using it on macos - Use a POST_BUILD rather than install to copy things around into the right places - Convert all the configure_file's to consistently use @ONLY - Misc cleanups
10 lines
562 B
Bash
Executable file
10 lines
562 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
codesign --verbose=4 --force -s "@CODESIGN_KEY@" \
|
|
--entitlements "@PROJECT_SOURCE_DIR@/contrib/macos/lokinet-extension.entitlements.plist" \
|
|
--deep --strict --timestamp --options=runtime "@SIGN_TARGET@/Contents/Frameworks/lokinet-extension.framework"
|
|
for file in "@SIGN_TARGET@/Contents/MacOS/lokinet" "@SIGN_TARGET@" ; do
|
|
codesign --verbose=4 --force -s "@CODESIGN_KEY@" \
|
|
--entitlements "@PROJECT_SOURCE_DIR@/contrib/macos/lokinet.entitlements.plist" \
|
|
--deep --strict --timestamp --options=runtime "$file"
|
|
done
|