# tres-joli/grabbr architecture

> Architecture diagram of the GitHub repository tres-joli/grabbr, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-03-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tres-joli/grabbr
- Repository: https://github.com/tres-joli/grabbr

## Overview

Grabbr is a three-tier Electron desktop app with a clear split between UI, bridge, and privileged backend logic.

At a high level, the architecture is:

- Electron main process: owns the desktop window, filesystem access, subprocess execution, preferences storage, and update/download orchestration.
- Preload layer: exposes a narrow, safe API from main to renderer.
- React renderer: presents the downloader UI and settings screens, and calls into the main process only through the preload bridge.

#### Main subsystems

##### 1) Renderer UI layer
Location: `src/renderer`

This is the user-facing React 19 application. It contains:

- The main app shell in `App.tsx`
- Input and option controls for download setup
- Tabbed configuration panels for:
  - General
  - Audio
  - Video
  - Encoding
  - Sorting
  - Updates
  - Experimental
- Reusable UI primitives in `src/renderer/src/components/ui`
- A preferences provider in `src/renderer/src/components/providers/preferences.tsx`
- A generic IPC hook in `src/renderer/src/components/use-ipc.tsx`

This layer is responsible for:
- collecting the URL to download
- letting the user choose audio/video mode and output settings
- showing progress, status, and errors
- triggering folder/file pickers through IPC
- reflecting saved preferences from the main process

It does not directly touch the filesystem or spawn processes.

##### 2) Preload bridge
Location: `src/preload`

The preload layer is the security boundary between the renderer and Electron’s privileged APIs. It exposes a controlled API surface to the React app through `contextBridge`.

Architecturally, this means:
- the renderer cannot call Node/Electron APIs directly
- all privileged operations go through a typed bridge
- the app can keep renderer code mostly framework/UI-focused

##### 3) Electron main process
Location: `src/main`

This is the application backend and contains the core workflow logic.

###### Main entry and app lifecycle
- `src/main/index.ts` is the main process entry point
- It likely creates the BrowserWindow, initializes IPC handlers, loads preferences, and wires services together

###### IPC handlers
Location: `src/main/ipc`

This folder is the request/response boundary between renderer and main. It includes handlers for:

- `download.ts` — start/cancel/download-related actions
- `preferences.ts` — read/write user preferences
- `dialog.ts` — native folder/file chooser dialogs
- `updater.ts` — app and yt-dlp update actions
- `ytdlp.ts` — yt-dlp version/query/update operations

These handlers are the coordination layer. They do not implement the actual download mechanics themselves; instead they delegate to controllers and services.

###### Controllers
Location: `src/main/controller`

Controllers encapsulate high-level use cases:

- `download.ts` — orchestrates the download flow
- `preferences.ts` — manages reading, normalizing, and saving user settings

Controllers sit above the lower-level services and translate UI-driven intent into actual work.

###### Services
Location: `src/main/services`

This is where the lower-level operational logic lives.

Key services include:

- `procs.ts` — process spawning, child process management, cancellation
- `binary-paths.ts` — resolves packaged/local paths to bundled executables
- `system-info.ts` — platform/runtime info used for behavior or display
- `ytdlp/download.ts` — download execution built around `yt-dlp`
- `ytdlp/update.ts` — checks and updates the installed `yt-dlp`
- `ytdlp/args/*` — builds command-line arguments for yt-dlp by concern:
  - audio
  - video
  - sorting
  - post-process
  - argument composition/index

This service layer is the bridge to external executables and the operating system.

###### Persistent store
- `src/main/store.ts` uses `electron-store` for persistent app state

This stores user preferences such as:
- theme
- download folder behavior
- audio/video settings
- experimental cookie file setting
- update-related state

##### 4) Shared code
Location: `src/shared`

Shared constants and utilities are used by both main and renderer to keep data shapes and common logic aligned.

This is important architecturally because it reduces drift between the UI and backend IPC contracts.

#### Core data flow: download lifecycle

The most important system flow is the media download path.

1. The user enters a URL in the renderer.
2. The user selects download mode and options:
   - audio or video
   - preset or custom settings
   - output format/quality/container
   - metadata/chapter embedding
   - sorting or encoding preferences
3. The renderer sends a download request through the preload bridge and IPC.
4. The main process download controller receives the request.
5. The controller composes yt-dlp command arguments using the `ytdlp/args` modules.
6. The service layer resolves binary paths for:
   - `yt-dlp`
   - `ffmpeg`
   - `ffprobe`
7. `procs.ts` launches the subprocess and tracks it.
8. Progress, completion, cancellation, and errors are reported back to the renderer through IPC.
9. If needed, native dialogs are used for choosing a folder or file.
10. Preferences are saved to `electron-store` so the next session can reuse them.

This means the actual media work happens outside Electron in bundled command-line tools, while Electron coordinates the UX and state.

#### External executables and binary boundary

A major architectural feature of this repo is that Grabbr is not implementing media downloading itself. It shells out to external tools.

Bundled binaries:
- `yt-dlp`
- `ffmpeg`
- `ffprobe`

The README indicates these are downloaded into `resources/bin/` by `scripts/download-binaries.ts`. That makes the app self-contained at runtime and avoids depending on system-installed tools.

This introduces a key boundary:
- the Electron app owns orchestration
- the binaries own extraction, muxing, and media processing

#### Preferences and state flow

Preferences are persistent and shared across sessions.

Flow:
- Renderer displays current settings through a preferences provider
- User changes settings in the UI
- Renderer sends preference updates through IPC
- Main process writes them to `electron-store`
- On startup, main reloads the stored values and exposes them back to the renderer

This gives the app a desktop-native workflow where options persist without requiring a backend service or remote account.

#### Update architecture

Grabbr has two different update concerns:

##### 1) App auto-update
- Handled in `src/main/updater.ts` and IPC updater handlers
- Uses `electron-updater`
- Designed for packaged production builds
- Release pipeline is driven by GitHub Actions

##### 2) yt-dlp version update
- Separate from app updates
- Handled in the `ytdlp/update.ts` service and related IPC/controller paths
- Lets the user update the bundled downloader directly from inside the app

This separation matters: the desktop shell can update independently of the embedded media tool.

#### Experimental cookies support

The experimental feature for `cookies.txt` is another notable subsystem.

Architecture-wise:
- the renderer lets the user choose a cookies file
- the path is persisted in preferences
- the main process injects it into yt-dlp execution when enabled
- the app cleans up after use as needed

This is an optional request-time augmentation of the download command, not a separate storage system.

#### Packaging and build pipeline

Relevant tooling:
- Electron 41
- React 19
- TypeScript 5
- electron-vite for development/build integration
- electron-builder for packaging
- Bun for package management and scripts

Build artifacts and platform config:
- `electron-builder.yml`
- `electron.vite.config.ts`
- `build/` assets for icons and macOS entitlements
- GitHub Actions workflow in `.github/workflows/release.yml`

The release pipeline builds desktop installers/binaries for Windows, macOS, and Linux from version tags. That means the repository is structured around desktop distribution rather than a server deployment model.

#### Architectural boundaries to capture in a diagram

If you are drawing the architecture, the main boundaries are:

- User interface boundary: React renderer
- Secure bridge boundary: preload
- Privileged desktop boundary: Electron main process
- Command execution boundary: subprocesses for yt-dlp/ffmpeg/ffprobe
- Persistence boundary: electron-store on local disk
- Update boundary: app update channel vs yt-dlp update channel
- Packaging boundary: bundled binaries and desktop installers

#### Summary

Grabbr is a local-first Electron downloader. The renderer is responsible for UX and settings, the preload layer constrains access, and the main process orchestrates downloads, preferences, dialogs, and updates. Actual media processing is delegated to bundled external binaries, with persistent configuration managed locally through `electron-store`. The result is a desktop app architecture optimized for offline, fast, stateful multimedia downloads rather than a networked client/server system.

Main entry points: [`src/main/controller/download.ts`](https://github.com/tres-joli/grabbr/blob/master/src/main/controller/download.ts) (Download ctrl), [`src/main/index.ts`](https://github.com/tres-joli/grabbr/blob/master/src/main/index.ts) (Main entry), [`src/main/services/ytdlp/download.ts`](https://github.com/tres-joli/grabbr/blob/master/src/main/services/ytdlp/download.ts) (Download svc), [`src/renderer/src/components/use-ipc.tsx`](https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/components/use-ipc.tsx) (IPC hook)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_renderer["Renderer"]
  node_renderer_app["App shell<br/>React UI<br/>[App.tsx]"]
  node_renderer_input["URL input<br/>UI flow<br/>[input-url.tsx]"]
  node_renderer_options["Options tabs<br/>Settings UI<br/>[index.tsx]"]
  node_renderer_prefs["Prefs provider<br/>State provider<br/>[preferences.tsx]"]
  node_renderer_ipc["IPC hook<br/>Bridge hook<br/>[use-ipc.tsx]"]
end

subgraph group_bridge["Preload"]
  node_preload_bridge["Bridge API<br/>contextBridge<br/>[index.ts]"]
end

subgraph group_main["Main Process"]
  node_main_entry["Main entry<br/>Electron main<br/>[index.ts]"]
  node_ipc_index["IPC router<br/>IPC bootstrap<br/>[index.ts]"]
  node_ipc_download["Download IPC<br/>IPC handler<br/>[download.ts]"]
  node_ipc_prefs["Prefs IPC<br/>IPC handler<br/>[preferences.ts]"]
  node_ipc_dialog["Dialog IPC<br/>IPC handler<br/>[dialog.ts]"]
  node_ipc_updater["Updater IPC<br/>IPC handler<br/>[updater.ts]"]
  node_ipc_ytdlp["yt-dlp IPC<br/>IPC handler<br/>[ytdlp.ts]"]
  node_controller_download["Download ctrl<br/>Use case controller<br/>[download.ts]"]
  node_controller_prefs["Prefs ctrl<br/>Use case controller<br/>[preferences.ts]"]
  node_store[("Local store<br/>electron-store<br/>[store.ts]")]
  node_updater["App updater<br/>electron-updater<br/>[updater.ts]"]
end

subgraph group_services["Services"]
  node_svc_download["Download svc<br/>yt-dlp orchestration<br/>[download.ts]"]
  node_svc_args["Arg builders<br/>yt-dlp args<br/>[index.ts]"]
  node_svc_procs["Process svc<br/>subprocess manager<br/>[procs.ts]"]
  node_svc_paths["Binary paths<br/>path resolver<br/>[binary-paths.ts]"]
  node_svc_ytdlp_update["yt-dlp update<br/>tool updater<br/>[update.ts]"]
  node_svc_system["System info<br/>runtime info<br/>[system-info.ts]"]
end

subgraph group_shared["Shared"]
  node_shared_consts["Shared consts<br/>shared code<br/>[constants.ts]"]
  node_shared_utils["Shared utils<br/>shared code<br/>[utils.ts]"]
end

subgraph group_packaging["Packaging"]
  node_binaries["Bundled binaries<br/>packaged tools"]
  node_release["Release build<br/>CI/CD<br/>[release.yml]"]
end

node_renderer_app -->|"renders"| node_renderer_input
node_renderer_app -->|"renders"| node_renderer_options
node_renderer_app -->|"uses"| node_renderer_prefs
node_renderer_input -->|"requests"| node_renderer_ipc
node_renderer_options -->|"saves"| node_renderer_ipc
node_renderer_prefs -->|"syncs"| node_renderer_ipc
node_renderer_ipc -->|"calls"| node_preload_bridge
node_preload_bridge -->|"exposes"| node_ipc_index
node_main_entry -->|"registers"| node_ipc_index
node_main_entry -->|"wires"| node_controller_download
node_main_entry -->|"wires"| node_controller_prefs
node_ipc_download -->|"delegates"| node_controller_download
node_ipc_prefs -->|"delegates"| node_controller_prefs
node_ipc_dialog -->|"uses"| node_main_entry
node_ipc_updater -->|"delegates"| node_updater
node_ipc_updater -->|"delegates"| node_svc_ytdlp_update
node_ipc_ytdlp -->|"delegates"| node_svc_ytdlp_update
node_controller_download -->|"builds"| node_svc_args
node_controller_download -->|"starts"| node_svc_download
node_controller_download -->|"reads/writes"| node_store
node_controller_prefs -->|"persists"| node_store
node_svc_download -->|"resolves"| node_svc_paths
node_svc_download -->|"spawns"| node_svc_procs
node_svc_download -->|"uses"| node_shared_consts
node_svc_args -->|"uses"| node_shared_utils
node_svc_ytdlp_update -->|"resolves"| node_svc_paths
node_svc_system -->|"informs"| node_main_entry
node_binaries -->|"provides"| node_svc_paths
node_release -->|"packages"| node_binaries
node_release -->|"publishes"| node_updater

click node_renderer_app "https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/App.tsx"
click node_renderer_input "https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/components/input-url.tsx"
click node_renderer_options "https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/components/options/index.tsx"
click node_renderer_prefs "https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/components/providers/preferences.tsx"
click node_renderer_ipc "https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/components/use-ipc.tsx"
click node_preload_bridge "https://github.com/tres-joli/grabbr/blob/master/src/preload/index.ts"
click node_main_entry "https://github.com/tres-joli/grabbr/blob/master/src/main/index.ts"
click node_ipc_index "https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/index.ts"
click node_ipc_download "https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/download.ts"
click node_ipc_prefs "https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/preferences.ts"
click node_ipc_dialog "https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/dialog.ts"
click node_ipc_updater "https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/updater.ts"
click node_ipc_ytdlp "https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/ytdlp.ts"
click node_controller_download "https://github.com/tres-joli/grabbr/blob/master/src/main/controller/download.ts"
click node_controller_prefs "https://github.com/tres-joli/grabbr/blob/master/src/main/controller/preferences.ts"
click node_store "https://github.com/tres-joli/grabbr/blob/master/src/main/store.ts"
click node_updater "https://github.com/tres-joli/grabbr/blob/master/src/main/updater.ts"
click node_svc_download "https://github.com/tres-joli/grabbr/blob/master/src/main/services/ytdlp/download.ts"
click node_svc_args "https://github.com/tres-joli/grabbr/blob/master/src/main/services/ytdlp/args/index.ts"
click node_svc_procs "https://github.com/tres-joli/grabbr/blob/master/src/main/services/procs.ts"
click node_svc_paths "https://github.com/tres-joli/grabbr/blob/master/src/main/services/binary-paths.ts"
click node_svc_ytdlp_update "https://github.com/tres-joli/grabbr/blob/master/src/main/services/ytdlp/update.ts"
click node_svc_system "https://github.com/tres-joli/grabbr/blob/master/src/main/services/system-info.ts"
click node_shared_consts "https://github.com/tres-joli/grabbr/blob/master/src/shared/constants.ts"
click node_shared_utils "https://github.com/tres-joli/grabbr/blob/master/src/shared/utils.ts"
click node_binaries "https://github.com/tres-joli/grabbr/blob/master/scripts/download-binaries.ts"
click node_release "https://github.com/tres-joli/grabbr/blob/master/.github/workflows/release.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_renderer_app,node_renderer_input,node_renderer_options,node_renderer_prefs,node_renderer_ipc toneBlue
class node_preload_bridge toneAmber
class node_main_entry,node_ipc_index,node_ipc_download,node_ipc_prefs,node_ipc_dialog,node_ipc_updater,node_ipc_ytdlp,node_controller_download,node_controller_prefs,node_store,node_updater toneMint
class node_svc_download,node_svc_args,node_svc_procs,node_svc_paths,node_svc_ytdlp_update,node_svc_system toneRose
class node_shared_consts,node_shared_utils toneIndigo
class node_binaries,node_release toneTeal
```

## Components

### Renderer

React UI and state presentation

- [App shell](https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/App.tsx): React UI · Top-level renderer entry and app composition · `src/renderer/src/App.tsx`
- [URL input](https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/components/input-url.tsx): UI flow · Download URL entry and primary controls · `src/renderer/src/components/input-url.tsx`
- [Options tabs](https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/components/options/index.tsx): Settings UI · General, audio, video, encoding, sorting, updates, and experimental panels · `src/renderer/src/components/options/index.tsx`
- [Prefs provider](https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/components/providers/preferences.tsx): State provider · Renderer-side preferences state and sync · `src/renderer/src/components/providers/preferences.tsx`
- [IPC hook](https://github.com/tres-joli/grabbr/blob/master/src/renderer/src/components/use-ipc.tsx): Bridge hook · Generic renderer API for invoking preload-exposed channels · `src/renderer/src/components/use-ipc.tsx`

### Preload

Secure IPC bridge

- [Bridge API](https://github.com/tres-joli/grabbr/blob/master/src/preload/index.ts): contextBridge · Typed, narrowed API exposed to the renderer · `src/preload/index.ts`

### Main Process

Privileged desktop orchestration

- [Main entry](https://github.com/tres-joli/grabbr/blob/master/src/main/index.ts): Electron main · Process bootstrap and wiring for the desktop app · `src/main/index.ts`
- [IPC router](https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/index.ts): IPC bootstrap · Registers request/response handlers · `src/main/ipc/index.ts`
- [Download IPC](https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/download.ts): IPC handler · Start, cancel, and progress-related download actions · `src/main/ipc/download.ts`
- [Prefs IPC](https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/preferences.ts): IPC handler · Read and write preference state · `src/main/ipc/preferences.ts`
- [Dialog IPC](https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/dialog.ts): IPC handler · Native file and folder chooser actions · `src/main/ipc/dialog.ts`
- [Updater IPC](https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/updater.ts): IPC handler · App and yt-dlp update actions · `src/main/ipc/updater.ts`
- [yt-dlp IPC](https://github.com/tres-joli/grabbr/blob/master/src/main/ipc/ytdlp.ts): IPC handler · yt-dlp version and update operations · `src/main/ipc/ytdlp.ts`
- [Download ctrl](https://github.com/tres-joli/grabbr/blob/master/src/main/controller/download.ts): Use case controller · Orchestrates the end-to-end download flow · `src/main/controller/download.ts`
- [Prefs ctrl](https://github.com/tres-joli/grabbr/blob/master/src/main/controller/preferences.ts): Use case controller · Normalizes, loads, and saves preferences · `src/main/controller/preferences.ts`
- [Local store](https://github.com/tres-joli/grabbr/blob/master/src/main/store.ts): electron-store · Persistent desktop state on disk · `src/main/store.ts`
- [App updater](https://github.com/tres-joli/grabbr/blob/master/src/main/updater.ts): electron-updater · Packaged application update channel · `src/main/updater.ts`

### Services

OS, process, and yt-dlp integration

- [Download svc](https://github.com/tres-joli/grabbr/blob/master/src/main/services/ytdlp/download.ts): yt-dlp orchestration · Runs media downloads through external tools · `src/main/services/ytdlp/download.ts`
- [Arg builders](https://github.com/tres-joli/grabbr/blob/master/src/main/services/ytdlp/args/index.ts): yt-dlp args · Composes audio, video, sorting, and post-process arguments · `src/main/services/ytdlp/args/index.ts`
- [Process svc](https://github.com/tres-joli/grabbr/blob/master/src/main/services/procs.ts): subprocess manager · Spawns, tracks, and cancels child processes · `src/main/services/procs.ts`
- [Binary paths](https://github.com/tres-joli/grabbr/blob/master/src/main/services/binary-paths.ts): path resolver · Resolves bundled executable locations · `src/main/services/binary-paths.ts`
- [yt-dlp update](https://github.com/tres-joli/grabbr/blob/master/src/main/services/ytdlp/update.ts): tool updater · Checks and updates the bundled yt-dlp binary · `src/main/services/ytdlp/update.ts`
- [System info](https://github.com/tres-joli/grabbr/blob/master/src/main/services/system-info.ts): runtime info · Platform and environment details used by backend logic · `src/main/services/system-info.ts`

### Shared

Constants and cross-process helpers

- [Shared consts](https://github.com/tres-joli/grabbr/blob/master/src/shared/constants.ts): shared code · Cross-process constants and common values · `src/shared/constants.ts`
- [Shared utils](https://github.com/tres-joli/grabbr/blob/master/src/shared/utils.ts): shared code · Common helpers used by both renderer and main · `src/shared/utils.ts`

### Packaging

Build, binaries, and release tooling

- [Bundled binaries](https://github.com/tres-joli/grabbr/blob/master/scripts/download-binaries.ts): packaged tools · yt-dlp, ffmpeg, and ffprobe shipped with the app · `scripts/download-binaries.ts`
- [Release build](https://github.com/tres-joli/grabbr/blob/master/.github/workflows/release.yml): CI/CD · Desktop packaging and release workflow · `.github/workflows/release.yml`

## Connections

- App shell → URL input: renders · App shell composes the download input surface
- App shell → Options tabs: renders · App shell hosts the settings panels
- App shell → Prefs provider: uses · App consumes shared preferences state
- URL input → IPC hook: requests · Triggers download and picker actions through bridge APIs
- Options tabs → IPC hook: saves · Sends settings changes through IPC
- Prefs provider → IPC hook: syncs · Loads and updates persisted preferences via bridge
- IPC hook → Bridge API: calls · Renderer talks only to the exposed preload API
- Bridge API → IPC router: exposes · Bridge routes safe requests into main IPC
- Main entry → IPC router: registers · Bootstraps the IPC handler set
- Main entry → Download ctrl: wires · Main process connects app events to download orchestration
- Main entry → Prefs ctrl: wires · Main process connects startup and settings handling
- Download IPC → Download ctrl: delegates · Download IPC forwards use-case requests
- Prefs IPC → Prefs ctrl: delegates · Preferences IPC forwards read/write requests
- Dialog IPC → Main entry: uses · Dialogs are part of the privileged desktop boundary
- Updater IPC → App updater: delegates · App update actions are handled by updater logic
- Updater IPC → yt-dlp update: delegates · yt-dlp update actions are handled separately from app updates
- yt-dlp IPC → yt-dlp update: delegates · Version and update queries reach yt-dlp service logic
- Download ctrl → Arg builders: builds · Composes tool arguments from UI preferences and mode selection
- Download ctrl → Download svc: starts · Hands off execution once the request is normalized
- Download ctrl → Local store: reads/writes · Uses saved settings during download orchestration
- Prefs ctrl → Local store: persists · Preference changes are saved locally
- Download svc → Binary paths: resolves · Finds bundled yt-dlp, ffmpeg, and ffprobe paths
- Download svc → Process svc: spawns · Launches and tracks the subprocess execution
- Download svc → Shared consts: uses · Shares common types and values with the rest of the app
- Arg builders → Shared utils: uses · Reuses helpers while composing command arguments
- yt-dlp update → Binary paths: resolves · Locates the bundled downloader binary for update checks
- System info → Main entry: informs · Runtime/platform info can influence backend behavior
- Bundled binaries → Binary paths: provides · Packaged executables are the target of path resolution
- Release build → Bundled binaries: packages · Release workflow bundles desktop binaries and installers
- Release build → App updater: publishes · Release pipeline feeds the app auto-update channel
