The desktop app still requires valid model provider credentials. On first launch, open Settings and configure the provider, models, and API key. The settings are stored in the local app data directory.
Install a Released Build
Download the installer for your platform from GitHub Releases.
The desktop app stores its database, uploads, materials, and exports in a user-writable data storage directory rather than in packaged resource directories. Back up important local projects before upgrading.
Data Storage Location
On Windows, the setup wizard shows separate Application installation location and Data storage location fields during the first installation. The application location contains only the app itself. The data storage location contains the project database, generated images, uploaded assets, and export cache. macOS and Linux use the system’s default app data directory on first launch. On every desktop platform, you can view and change the data storage location from the full Settings page. After the new path passes validation, click Save and restart to apply it. This option is not shown in the browser version or in the in-project Global Settings dialog.Move Data to Another Drive Manually
- Go to Settings → Data storage location, click Open current folder, and note the old path.
- Select Quit from the system tray menu. Closing the window only hides the app in the tray, so the backend may still be writing to the database.
- Copy the complete
data/,uploads/, andexports/directories from the old location to the new one. Copy them first; do not move them directly or delete the old data yet. - Reopen Banana Slides, enter or select the new directory in Settings, and click Save and restart.
- After confirming that your project history, images, and assets all open correctly, you may delete the old copies yourself.
.env used by source deployments. Configure the API provider, base URL, models, and API key on the in-app Settings page instead; these settings persist in the local database under the app data directory. A provider selected for a model takes precedence over the Default API Configuration above it; choose Default configuration in the provider dropdown to use the settings above. If a service test shows an unexpected provider (for example, MiniMax after you configured Gemini), change that model’s provider to Default configuration, save, and test again.
When connecting an OpenAI/Codex account, the desktop app opens the OAuth login in the system browser. After the callback page shows Connected, the app polls its local backend and updates to Connected automatically; no manual refresh is required. It also checks immediately when the app regains focus. In web mode, a failed callback or an early popup close ends the connecting state. Either mode ends with an actionable message after a two-minute timeout. Web deployments continue to use the popup postMessage callback and report a blocked popup immediately.
Desktop exports open the system save dialog. After you choose a destination, the app waits for the file to be written and verifies that it is not empty before reporting success. If the download is interrupted, times out, or does not write the destination file, the app displays an error that includes the selected path. Task files and historical exports in the preview page’s Export Tasks panel use the same desktop save flow.
Local Packaging Requirements
Local packaging needs frontend, backend, and Electron dependencies:- Node.js 20+
- Python 3.11
- uv
- PyInstaller
- Electron dependencies installed under
desktop/ - macOS / Linux use platform FFmpeg/FFprobe binaries from the
desktopnpm dependencies by default; you can also set trustedFFMPEG_BIN/FFPROBE_BINpaths, or fall back to commands inPATH - Windows downloads a pinned static FFmpeg archive and verifies its SHA256 by default; you can also point
FFMPEG_BIN/FFPROBE_BINat trusted local binaries
desktop/electron-builder.yml currently targets Windows x64 NSIS, macOS arm64 DMG, and Linux x64 AppImage/deb. Prefer packaging on the matching OS or through GitHub Actions runners.Local Packaging
Run these commands from the repository root:npm run build:* first runs desktop/scripts/prepare-artifacts.js and desktop/scripts/sync-build-meta.js:
- Copies
frontend/dist/todesktop/frontend/ - Copies
backend/dist/banana-backend/todesktop/backend/ - Copies or generates FFmpeg, macOS icon, and other packaging resources
- Generates
desktop/build-meta.json, which lets update checks compare the current build against GitHub Releases
desktop/dist/.
Release Flow
Desktop releases are driven by.github/workflows/release-desktop.yml. Pushing a v* tag triggers:
- Syncing the tag version into
desktop/package.json. - Building frontend static files.
- Installing backend dependencies with uv and packaging
backend/banana-slides.specwith PyInstaller. - Installing Electron dependencies.
- Running
npm run build:win,npm run build:mac, andnpm run build:linuxon Windows, macOS, and Linux runners. - Uploading
desktop/dist/*to a GitHub draft Release.
Anionex/banana-slides and uses build-meta.json commit timestamps to avoid showing older releases as updates.
Signing and Distribution Limits
The current configuration can generate installers, but that does not mean the app is fully signed for formal distribution.- Windows: unsigned installers can trigger SmartScreen or “unknown publisher” prompts. Formal distribution should sign both the installer and executables with a code-signing certificate.
- macOS: a DMG / App without Apple Developer ID signing and notarization may be blocked by Gatekeeper. Formal distribution should add signing, notarization, and stapling.
- Updates: the current implementation checks GitHub Releases and prompts users to download a new version; it is not silent delta auto-update.
- Architecture limits: macOS is currently configured for arm64, and Windows for x64. Intel Mac or Windows arm64 support requires additional electron-builder targets.
Windows EXE Verification
Windows verification should cover at least:- Generate
BananaSlides-<version>-Setup.exeon a GitHub Actions Windows runner or a local Windows environment. - Confirm the installer opens, the install path can be selected, and desktop/start-menu shortcuts are created as configured.
- Launch the app and confirm the desktop window, splash screen, and bundled backend startup.
- Open Settings, save a model configuration, refresh, and confirm it persists.
- Create a project and exercise one preview-page export or download action.
- Quit the app and confirm the bundled backend process exits with it.
macOS DMG Verification
macOS verification should cover at least:- Run
npm run build:macon a macOS runner or local macOS machine and generateBananaSlides-<version>.dmg. - Mount the DMG and confirm the app icon/name are correct and the app can be dragged into Applications.
- Launch the app from Applications; if macOS warns about an unidentified developer, continue only through the per-app approval flow.
- After the desktop window loads, confirm the bundled backend
/healthpath is healthy and frontend requests use the actual desktop backend port. - Verify at least one real workflow involving image URLs, long-running task polling or SSE, and export/download behavior.
- Start an OpenAI OAuth login from Settings and confirm the app shows the connected account after the system-browser callback without a refresh.
- Quit the app and confirm no packaged backend process remains.
Troubleshooting
The App Says the Backend Is Unavailable
Confirm the installer includesdesktop/backend/, and check whether security software blocked the bundled backend process. During development or packaging verification, also confirm PyInstaller generated backend/dist/banana-backend/.
Gemini Is Configured but Another Provider Is Shown
The text generation, image generation, and image captioning models can each use their own provider, which takes precedence over the default API. Return to Settings → Model Configuration, change the unexpected model provider to Default configuration, save, and rerun the service test. The desktop app does not need or create a.env file in its installation directory.
The Browser Says OpenAI Is Connected but the App Is Still Waiting
The desktop app checks local OAuth status every second and checks immediately when it regains focus, so a refresh should not be necessary. After two minutes it ends the connecting state and prompts you to retry. You can also expand Connection failed after login? and paste the complete callback URL from the browser address bar. Confirm that the bundled backend is still running and that security software is not blocking local requests.No File Appears After Choosing a Desktop Save Location
The desktop app only reports success after the file has actually been written to the selected destination. If the download is interrupted, times out, or the written file is missing or empty, the app displays File was not saved successfully together with the selected path; follow the prompt and save again. You can also open the Export Tasks panel on the preview page and click Download for the relevant task or historical export to choose a new destination.Packaging Cannot Find Frontend or Backend Resources
Buildfrontend/dist/ and backend/dist/banana-backend/ first, then run npm run build:* from desktop/.
macOS Packaging Cannot Find FFmpeg
Install FFmpeg, or set:npm run build:mac.