Skip to content

Commit 75a19e7

Browse files
authored
Merge branch 'master' into script_manager_running_script
2 parents 21d7e72 + 800cbee commit 75a19e7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tools/script_manager.lua

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ end
7070

7171
du.check_min_api_version("5.0.0", "script_manager")
7272

73-
7473
-- - - - - - - - - - - - - - - - - - - - - - - -
7574
-- C O N S T A N T S
7675
-- - - - - - - - - - - - - - - - - - - - - - - -
@@ -94,6 +93,16 @@ local LUA_SCRIPT_REPO = "https://github.com/darktable-org/lua-scripts.git"
9493

9594
local LUA_API_VER = "API-" .. dt.configuration.api_version_string
9695

96+
-- - - - - - - - - - - - - - - - - - - - - - - -
97+
-- P R E F E R E N C E S
98+
-- - - - - - - - - - - - - - - - - - - - - - - -
99+
100+
dt.preferences.register(MODULE, "check_update", "bool",
101+
"check for updated scripts on start up",
102+
"automatically update scripts to correct version",
103+
true)
104+
105+
local check_for_updates = dt.preferences.read(MODULE, "check_update", "bool")
97106

98107
-- - - - - - - - - - - - - - - - - - - - - - - -
99108
-- P R E F E R E N C E S

0 commit comments

Comments
 (0)