4a9f992056
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
11 lines
360 B
Go
11 lines
360 B
Go
package config
|
|
|
|
// DarktableBin returns the darktable-cli executable file name.
|
|
func (c *Config) DarktableBin() string {
|
|
return findExecutable(c.params.DarktableBin, "darktable-cli")
|
|
}
|
|
|
|
// DarktableUnlock checks if presets should be disabled to run multiple instances concurrently.
|
|
func (c *Config) DarktableUnlock() bool {
|
|
return c.params.DarktableUnlock
|
|
}
|