Skip to content

Commit

Permalink
revert: recent changes to build-desktop.yml and entitlements (#11991)
Browse files Browse the repository at this point in the history
* Revert workflow changes in "[PM-9022] scaffold the extension and build pipeline (#9948)"

This reverts commit 62112b9.

* fix: comment out autofill entitlement
  • Loading branch information
coroiu authored Nov 14, 2024
1 parent 0cfe18a commit b4aea05
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/build-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1177,21 +1177,6 @@ jobs:
--file $HOME/secrets/bitwarden_desktop_appstore.provisionprofile \
--output none
az storage blob download --account-name $ACCOUNT_NAME --container-name $CONTAINER_NAME \
--name bitwarden_desktop_autofill_app_store_2024.provisionprofile \
--file $HOME/secrets/bitwarden_desktop_autofill_app_store_2024.provisionprofile \
--output none
- name: Set up provisioning profiles
run: |
AUTOFILL_PROFILE_PATH=$HOME/secrets/bitwarden_desktop_autofill_app_store_2024.provisionprofile
PROFILES_DIR_PATH=$HOME/Library/MobileDevice/Provisioning\ Profiles
mkdir -p "$PROFILES_DIR_PATH"
AUTOFILL_UUID=$(grep UUID -A1 -a $AUTOFILL_PROFILE_PATH | grep -io "[-A-F0-9]\{36\}")
cp $AUTOFILL_PROFILE_PATH "$PROFILES_DIR_PATH/$AUTOFILL_UUID.provisionprofile"
- name: Get certificates
run: |
mkdir -p $HOME/certificates
Expand Down Expand Up @@ -1243,6 +1228,11 @@ jobs:
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $KEYCHAIN_PASSWORD build.keychain
- name: Set up provisioning profiles
run: |
cp $HOME/secrets/bitwarden_desktop_appstore.provisionprofile \
$GITHUB_WORKSPACE/apps/desktop/bitwarden_desktop_appstore.provisionprofile
- name: Increment version
shell: pwsh
env:
Expand Down
2 changes: 2 additions & 0 deletions apps/desktop/resources/entitlements.mac.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<!--
<key>com.apple.developer.authentication-services.autofill-credential-provider</key>
<true/>
-->
</dict>
</plist>
2 changes: 2 additions & 0 deletions apps/desktop/resources/entitlements.mas.inherit.plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<!--
<key>com.apple.developer.authentication-services.autofill-credential-provider</key>
<true/>
-->
</dict>
</plist>
2 changes: 2 additions & 0 deletions apps/desktop/resources/entitlements.mas.plist
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<!--
<key>com.apple.developer.authentication-services.autofill-credential-provider</key>
<true/>
-->
<key>com.apple.security.temporary-exception.files.home-relative-path.read-write</key>
<array>
<string>/Library/Application Support/Mozilla/NativeMessagingHosts/</string>
Expand Down

0 comments on commit b4aea05

Please sign in to comment.