Skip to content

Commit 26d162b

Browse files
Fix pipe_source.py not bundled in release builds
The packaging scripts only copied .vpy templates but missed pipe_source.py, which is now required by both pipeline and preview VapourSynth scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 494e97c commit 26d162b

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

Scripts/package-macos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ chmod +x "$CONTENTS/MacOS/vapourbox-worker"
213213
# everything in MacOS/ to be signed Mach-O binaries)
214214
cp "$PROJECT_ROOT/worker/templates/pipeline_template.vpy" "$CONTENTS/Resources/templates/"
215215
cp "$PROJECT_ROOT/worker/templates/preview_template.vpy" "$CONTENTS/Resources/templates/"
216+
cp "$PROJECT_ROOT/worker/templates/pipe_source.py" "$CONTENTS/Resources/templates/"
216217

217218
# Copy licenses
218219
cp -r "$PROJECT_ROOT/licenses/"* "$CONTENTS/Resources/licenses/"

Scripts/package-windows.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ Copy-Item $WorkerExe "$PackageDir\"
100100
# Copy VapourSynth script templates
101101
Copy-Item (Join-Path $ProjectRoot "worker\templates\pipeline_template.vpy") "$PackageDir\templates\"
102102
Copy-Item (Join-Path $ProjectRoot "worker\templates\preview_template.vpy") "$PackageDir\templates\"
103+
Copy-Item (Join-Path $ProjectRoot "worker\templates\pipe_source.py") "$PackageDir\templates\"
103104

104105
# Copy licenses
105106
Write-Host " Copying licenses..."

Scripts/run-debug-macos.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@ cp -R "$DERIVED_APP" "$DEBUG_APP"
8484
# Copy worker binary
8585
cp "$WORKER_DIR/target/debug/vapourbox-worker" "$DEBUG_APP/Contents/MacOS/"
8686

87-
# Copy templates
87+
# Copy templates (includes pipe_source.py used by VapourSynth scripts)
8888
mkdir -p "$DEBUG_APP/Contents/MacOS/templates"
8989
cp "$WORKER_DIR/templates/"*.vpy "$DEBUG_APP/Contents/MacOS/templates/"
90+
cp "$WORKER_DIR/templates/pipe_source.py" "$DEBUG_APP/Contents/MacOS/templates/"
9091

9192
# Remove quarantine from deps if present
9293
if xattr "$PROJECT_ROOT/deps/macos-arm64/ffmpeg/ffmpeg" 2>/dev/null | grep -q quarantine; then

0 commit comments

Comments
 (0)