
On Windows, when the Manager doesn't explicitly point at a Blender to use, use the the application associated with `.blend` files instead.
12 lines
311 B
Go
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")
|
|
}
|