fixed version requirement due to updates to darktable.configuration.running_os

This commit is contained in:
Andy Chien
2018-03-19 06:51:30 -07:00
parent 46ba555a20
commit 44081b772f

View File

@@ -48,7 +48,7 @@ local exec_widget = nil
local executable_table = {"hugin", "hugin_executor", "pto_gen"}
-- works with darktable API version from 2.0.0 to 5.0.0
dt.configuration.check_version(...,{2,0,0},{3,0,0},{4,0,0},{5,0,0})
dt.configuration.check_version(...,{5,0,0})
-- Tell gettext where to find the .mo file translating messages for a particular domain
gettext.bindtextdomain("hugin",dt.configuration.config_dir.."/lua/locale/")