Create Kaleido Desktop, a cinematic Plex client for Windows
Tauri 2 shell with a React/TypeScript interface and libmpv playback composed beneath the web view (DirectComposition on Windows). Shared code with per-OS platform modules and configs so macOS and Linux can follow. - Plex sign-in (browser, plex.tv/link or manual), server selection, Plex Home - Home, Movies and TV Shows (Discover, Library, Collections), search, people - Title pages with logos, ratings, cast, extras, seasons and episodes - Direct play with Plex conversion fallback, tracks, markers, autoplay - Metadata editing, artwork, fix match, refresh, analyze and deletion - Resumable offline downloads - App settings and Plex server administration with a live dashboard - Signed updater feed and Forgejo CI Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
00d72e70f4
121 changed files with 25315 additions and 0 deletions
30
scripts/build.ps1
Normal file
30
scripts/build.ps1
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Builds Kaleido for Windows: the NSIS installer plus signed updater artifacts.
|
||||
# .\scripts\build.ps1 # release installer
|
||||
# .\scripts\build.ps1 -Debug # faster unoptimized build
|
||||
param([switch]$Debug)
|
||||
$ErrorActionPreference = "Stop"
|
||||
$root = Split-Path -Parent $PSScriptRoot
|
||||
Set-Location $root
|
||||
|
||||
& "$PSScriptRoot\fetch-libmpv.ps1"
|
||||
|
||||
# The updater signing key stays outside git (.tools/). CI provides it as a secret.
|
||||
if (-not $env:TAURI_SIGNING_PRIVATE_KEY) {
|
||||
$keyFile = Join-Path $root ".tools\updater.key"
|
||||
if (Test-Path $keyFile) {
|
||||
$env:TAURI_SIGNING_PRIVATE_KEY = Get-Content $keyFile -Raw
|
||||
if (-not $env:TAURI_SIGNING_PRIVATE_KEY_PASSWORD) { $env:TAURI_SIGNING_PRIVATE_KEY_PASSWORD = "" }
|
||||
} else {
|
||||
Write-Warning "No updater signing key; building without update artifacts."
|
||||
$env:TAURI_CONFIG = '{"bundle":{"createUpdaterArtifacts":false}}'
|
||||
}
|
||||
}
|
||||
|
||||
if (-not (Test-Path (Join-Path $root "node_modules"))) { npm ci }
|
||||
$buildArgs = @("tauri", "build")
|
||||
if ($Debug) { $buildArgs += "--debug" }
|
||||
npx @buildArgs
|
||||
if ($LASTEXITCODE -ne 0) { throw "Build failed" }
|
||||
|
||||
$profile = if ($Debug) { "debug" } else { "release" }
|
||||
Get-ChildItem (Join-Path $root "src-tauri\target\$profile\bundle\nsis") | Select-Object Name, Length
|
||||
Loading…
Add table
Add a link
Reference in a new issue