mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
Add Bundle ID in entitlements files through app config script
This commit is contained in:
parent
9f1e663719
commit
dac7f8e1b3
4 changed files with 11 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -137,4 +137,6 @@ assets/images/app_logo.png
|
||||||
/android/app/src/main/AndroidManifest.xml
|
/android/app/src/main/AndroidManifest.xml
|
||||||
|
|
||||||
|
|
||||||
macos/Runner/Info.plist
|
macos/Runner/Info.plist
|
||||||
|
macos/Runner/DebugProfile.entitlements
|
||||||
|
macos/Runner/Release.entitlements
|
|
@ -10,7 +10,7 @@
|
||||||
<true/>
|
<true/>
|
||||||
<key>keychain-access-groups</key>
|
<key>keychain-access-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>$(AppIdentifierPrefix)com.cakewallet.macos</string>
|
<string>$(AppIdentifierPrefix)${BUNDLE_ID}</string>
|
||||||
</array>
|
</array>
|
||||||
<key>com.apple.security.network.client</key>
|
<key>com.apple.security.network.client</key>
|
||||||
<true/>
|
<true/>
|
|
@ -6,7 +6,7 @@
|
||||||
<true/>
|
<true/>
|
||||||
<key>keychain-access-groups</key>
|
<key>keychain-access-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>$(AppIdentifierPrefix)com.cakewallet.macos</string>
|
<string>$(AppIdentifierPrefix)${BUNDLE_ID}</string>
|
||||||
</array>
|
</array>
|
||||||
<key>com.apple.security.network.client</key>
|
<key>com.apple.security.network.client</key>
|
||||||
<true/>
|
<true/>
|
|
@ -13,6 +13,12 @@ cp -rf ./macos/Runner/InfoBase.plist ./macos/Runner/Info.plist
|
||||||
/usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier ${APP_MACOS_BUNDLE_ID}" ./macos/Runner/Info.plist
|
/usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier ${APP_MACOS_BUNDLE_ID}" ./macos/Runner/Info.plist
|
||||||
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${APP_MACOS_VERSION}" ./macos/Runner/Info.plist
|
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${APP_MACOS_VERSION}" ./macos/Runner/Info.plist
|
||||||
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${APP_MACOS_BUILD_NUMBER}" ./macos/Runner/Info.plist
|
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${APP_MACOS_BUILD_NUMBER}" ./macos/Runner/Info.plist
|
||||||
|
|
||||||
|
# Fill entitlements Bundle ID
|
||||||
|
cp -rf ./macos/Runner/DebugProfileBase.entitlements ./macos/Runner/DebugProfile.entitlements
|
||||||
|
cp -rf ./macos/Runner/ReleaseBase.entitlements ./macos/Runner/Release.entitlements
|
||||||
|
sed -i '' "s/\${BUNDLE_ID}/${APP_MACOS_BUNDLE_ID}/g" ./macos/Runner/DebugProfile.entitlements
|
||||||
|
sed -i '' "s/\${BUNDLE_ID}/${APP_MACOS_BUNDLE_ID}/g" ./macos/Runner/Release.entitlements
|
||||||
CONFIG_ARGS=""
|
CONFIG_ARGS=""
|
||||||
|
|
||||||
case $APP_MACOS_TYPE in
|
case $APP_MACOS_TYPE in
|
||||||
|
|
Loading…
Reference in a new issue