Sybren A. Stüvel
4cb0a6fb14
Blender Finder now understands that directory paths should be suffixed with `blender` (Linux, macOS) or `blender.exe` (Windows). Giving the Setup Assistant a path like `C:\Program files\Blender Foundation\Blender 3.2` will now just work. This is considerably simpler for many users, as copy-pasting a directory from a file explorer is simpler than obtaining/typing the path to the executable.
13 lines
257 B
Go
13 lines
257 B
Go
//go:build !windows
|
|
|
|
package find_blender
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
const blenderExeName = "blender"
|
|
|
|
// fileAssociation isn't implemented on non-Windows platforms.
|
|
func fileAssociation() (string, error) {
|
|
return "", ErrNotAvailable
|
|
}
|