Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 29 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,33 @@ on:
workflow_dispatch:

jobs:
bump-version:
if: github.repository == 'lukasbach/pensieve'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: 'paramsinghvc/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish:
runs-on: windows-latest
# strategy:
# matrix:
# os:
# [
# { name: 'windows', image: 'windows-latest' },
# { name: 'macos', image: 'macos-latest' },
# ]
# runs-on: ${{ matrix.os.image }}
needs: bump-version
if: always() && (needs.bump-version.result == 'success' || needs.bump-version.result == 'skipped')
strategy:
matrix:
include:
- os: windows
image: windows-latest
arch: ""
- os: macos
image: macos-latest
arch: arm64
- os: macos
image: macos-15-intel
arch: x64
runs-on: ${{ matrix.image }}
permissions:
contents: write
deployments: write
Expand All @@ -24,10 +41,9 @@ jobs:
- run: yarn lint
- run: yarn run typecheck
- run: yarn run build:docs
- run: yarn make
- uses: 'paramsinghvc/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: yarn make ${{ matrix.arch != '' && '--arch=' || '' }}${{ matrix.arch }}
- run: yarn publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
GITHUB_REPOSITORY: ${{ github.repository }}
16 changes: 14 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@ on:

jobs:
test:
runs-on: windows-latest
strategy:
matrix:
include:
- os: windows
image: windows-latest
arch: ""
- os: macos
image: macos-latest
arch: arm64
- os: macos
image: macos-15-intel
arch: x64
runs-on: ${{ matrix.image }}
permissions:
contents: read
id-token: write
Expand All @@ -19,4 +31,4 @@ jobs:
- run: yarn run lint
- run: yarn run typecheck
- run: yarn run build:docs
- run: yarn run make
- run: yarn run make ${{ matrix.arch != '' && '--arch=' || '' }}${{ matrix.arch }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,5 @@ extra
dist-docs
docs/index.md
docs/images
.vscode
.vscode
vector-store/vector-store.db
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,27 @@ If you prefer not to use Homebrew:
- **FFmpeg**: Download from [https://ffmpeg.org/download.html](https://ffmpeg.org/download.html)
- **Whisper**: Download from [https://github.com/ggerganov/whisper.cpp](https://github.com/ggerganov/whisper.cpp)

### Opening the App After Download

After downloading Pensieve from the releases page, you may see a message that the app is "damaged" when trying to open it. This is due to macOS Gatekeeper's quarantine feature for apps downloaded from the internet.

**Using the DMG Installer Helper (Recommended):**

When you open the Pensieve DMG, you'll see a "Pensieve Installer.app" helper:
1. Double-click "Pensieve Installer.app" (you may need to right-click it the first time and select "Open")
2. The helper will automatically:
- Copy Pensieve.app to your Applications folder
- Remove the quarantine attribute
- Optionally open Pensieve for you
3. You can then open Pensieve normally from Applications anytime

**Alternative: Manual Method**

If you prefer not to use the helper, after moving Pensieve to Applications, open Terminal and run:
```bash
xattr -d com.apple.quarantine /Applications/Pensieve.app
```

### Troubleshooting

If Pensieve shows warning dialogs about missing dependencies:
Expand Down
Loading