2020-07-13 15:23:54 +02:00
|
|
|
package config
|
|
|
|
|
|
|
|
// DarktableBin returns the darktable-cli executable file name.
|
|
|
|
func (c *Config) DarktableBin() string {
|
|
|
|
return findExecutable(c.params.DarktableBin, "darktable-cli")
|
|
|
|
}
|
|
|
|
|
2020-07-21 12:18:53 +02:00
|
|
|
// DarktablePresets checks if presets should be enabled (disables concurrent raw to jpeg conversion).
|
|
|
|
func (c *Config) DarktablePresets() bool {
|
|
|
|
return c.params.DarktablePresets
|
2020-07-13 15:23:54 +02:00
|
|
|
}
|