flamenco/internal/worker/command_blender_nonwindows.go
Sybren A. Stüvel 4181708709 Worker: automatically find Blender on Windows via file association
On Windows, when the Manager doesn't explicitly point at a Blender to use,
use the the application associated with `.blend` files instead.
2022-04-09 15:05:34 +02:00

12 lines
311 B
Go

//go:build !windows
// SPDX-License-Identifier: GPL-3.0-or-later
package worker
import "errors"
// FindBlender returns an error, as the file association lookup is only available on Windows.
func FindBlender() (string, error) {
return "", errors.New("file association lookup is only available on Windows")
}