summaryrefslogtreecommitdiff
path: root/apps/desktop/script/setup
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-07-30 18:17:45 +0200
committercashmere <cashmere@autistici.org>2026-07-30 18:18:15 +0200
commited02ba872c02eafed45f406c68d389d0a1112a4e (patch)
tree40530d77cfe306621915f067c66531cb9e783a4d /apps/desktop/script/setup
parente837e7504379e100ff3b56282577ec67bb88bec9 (diff)
downloadopencut-ed02ba872c02eafed45f406c68d389d0a1112a4e.tar.gz
feat: Electron desktop app, native ffmpeg export, fully static web
- apps/desktop: Electron shell serving the static web build over a privileged opencut:// protocol; exports stream frames over IPC to a bundled ffmpeg (libx264/libvpx-vp9, BT.709 tagged) with backpressure. electron-builder packaging: AppImage, deb, rpm. - apps/web: dead backend deleted (better-auth, drizzle/pg, upstash, botid, freesound proxy, blog, rss, env validation); next build emits a zero-env static export; /editor/[project_id] -> /editor?project=. - Native exporter mirrors SceneExporter; activates when the preload bridge is present; web keeps the mediabunny path. - Docker self-hosting now builds and serves the static export via nginx. - Release workflow: v* tags publish static web tarball + Linux packages. - Changelog 0.4.0; README/AGENTS/CONTRIBUTING/roadmap updated. - GPUI/Rust rewrite parked on branch rust-rewrite.
Diffstat (limited to 'apps/desktop/script/setup')
-rw-r--r--apps/desktop/script/setup110
1 files changed, 0 insertions, 110 deletions
diff --git a/apps/desktop/script/setup b/apps/desktop/script/setup
deleted file mode 100644
index 3152a080..00000000
--- a/apps/desktop/script/setup
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/usr/bin/env bash
-
-# Installs the native system libraries GPUI needs to compile on Linux/macOS.
-# Run script/setup-rust first if you don't have Rust installed yet.
-
-set -euo pipefail
-
-if [ "$(id -u)" -eq 0 ]; then
- maysudo=''
-else
- maysudo="$(command -v sudo || command -v doas || true)"
-fi
-
-# Ubuntu, Debian, Mint, Pop!_OS, Kali, Raspbian, etc.
-apt=$(command -v apt-get || true)
-if [[ -n $apt ]]; then
- deps=(
- curl
- build-essential
- pkg-config
- gcc
- g++
- make
- libasound2-dev
- libfontconfig-dev
- libglib2.0-dev
- libssl-dev
- libva-dev
- libvulkan1
- libwayland-dev
- libx11-xcb-dev
- libxkbcommon-x11-dev
- libzstd-dev
- libsqlite3-dev
- )
-
- $maysudo "$apt" update
- $maysudo "$apt" install -y "${deps[@]}"
- echo "Desktop native dependencies installed."
- exit 0
-fi
-
-# Fedora, RHEL, CentOS, Alma, etc.
-dnf=$(command -v dnf || true)
-if [[ -n $dnf ]]; then
- deps=(
- gcc
- gcc-c++
- make
- pkg-config
- alsa-lib-devel
- fontconfig-devel
- glib2-devel
- openssl-devel
- libva-devel
- vulkan-loader
- wayland-devel
- libxcb-devel
- libxkbcommon-x11-devel
- libzstd-devel
- sqlite-devel
- curl
- )
-
- $maysudo "$dnf" install -y "${deps[@]}"
- echo "Desktop native dependencies installed."
- exit 0
-fi
-
-# Arch, Manjaro, etc.
-pacman=$(command -v pacman || true)
-if [[ -n $pacman ]]; then
- deps=(
- gcc
- make
- pkgconf
- alsa-lib
- fontconfig
- glib2
- openssl
- libva
- vulkan-loader
- wayland
- libxcb
- libxkbcommon-x11
- zstd
- sqlite
- curl
- )
-
- $maysudo "$pacman" -Syu --needed --noconfirm "${deps[@]}"
- echo "Desktop native dependencies installed."
- exit 0
-fi
-
-# macOS
-if [[ "$(uname)" == "Darwin" ]]; then
- if ! xcode-select -p &> /dev/null; then
- echo "Installing Xcode Command Line Tools..."
- xcode-select --install
- echo "Re-run this script after the Xcode install completes."
- exit 0
- fi
-
- echo "Desktop native dependencies installed."
- exit 0
-fi
-
-echo "Unsupported platform. See apps/desktop/README.md for manual setup instructions."
-exit 1