fix: fix osx installer github action

This commit is contained in:
phernandez
2025-02-14 18:11:44 -06:00
parent 8370a06b6c
commit 65ebe5d194
2 changed files with 23 additions and 35 deletions
+8 -30
View File
@@ -49,13 +49,13 @@ jobs:
tag: ${{ steps.release.outputs.tag }}
build-macos:
#needs: release
#if: needs.release.outputs.released == 'true'
needs: release
if: needs.release.outputs.released == 'true'
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
ref: ${{ needs.release.outputs.tag }}
- name: Set up Python "3.12"
uses: actions/setup-python@v4
@@ -83,36 +83,14 @@ jobs:
make installer-mac
xattr -dr com.apple.quarantine "installer/build/Basic Memory Installer.app"
- name: Check library paths
run: |
otool -L installer/build/Basic\ Memory\ Installer.app/Contents/MacOS/Basic\ Memory\ Installer
otool -l installer/build/Basic\ Memory\ Installer.app/Contents/MacOS/Basic\ Memory\ Installer
- name: Inspect build
run: |
echo "Build structure:"
ls -la installer/build/Basic\ Memory\ Installer.app/Contents/MacOS/
# - name: Zip macOS installer
# run: |
# cd installer/build
# zip -ry "Basic-Memory-Installer-${{ needs.release.outputs.tag }}.zip" "Basic Memory Installer.app"
#
# - name: Upload macOS installer
# uses: softprops/action-gh-release@v1
# with:
# files: installer/build/Basic-Memory-Installer-${{ needs.release.outputs.tag }}.zip
# tag_name: ${{ needs.release.outputs.tag }}
# token: ${{ secrets.GITHUB_TOKEN }}
- name: Zip macOS installer
run: |
cd installer/build
zip -ry "Basic-Memory-Installer.zip" "Basic Memory Installer.app"
zip -ry "Basic-Memory-Installer-${{ needs.release.outputs.tag }}.zip" "Basic Memory Installer.app"
- name: Upload macOS installer
uses: actions/upload-artifact@v4
uses: softprops/action-gh-release@v1
with:
name: installer
path: |
installer/build/Basic-Memory-Installer.*
files: installer/build/Basic-Memory-Installer-${{ needs.release.outputs.tag }}.zip
tag_name: ${{ needs.release.outputs.tag }}
token: ${{ secrets.GITHUB_TOKEN }}
+15 -5
View File
@@ -7,10 +7,20 @@ This installer configures Basic Memory to work with Claude Desktop.
1. Download the latest installer from the [releases page](https://github.com/basicmachines-co/basic-memory/releases)
2. Unzip the downloaded file
3. Since the app is currently unsigned, you'll need to:
- Right-click (or Control-click) the app
- Select "Open" from the context menu
- Click "Open" in the warning dialog
4. Follow the installation instructions
On your Mac, choose Apple menu > System Settings, then click Privacy & Security in the sidebar. (You may need to
scroll down.)
Go to Security, then click Open.
Click Open Anyway.
This button is available for about an hour after you try to open the app.
Enter your login password, then click OK.
https://support.apple.com/guide/mac-help/apple-cant-check-app-for-malicious-software-mchleab3a043/mac
5. Restart Claude Desktop
The warning only appears the first time you open the app. Future updates will include proper code signing.
The warning only appears the first time you open the app. Future updates will include proper code signing.