@@ -75,27 +75,27 @@ du.check_min_api_version("9.3.0", "script_manager")
75
75
-- - - - - - - - - - - - - - - - - - - - - - - -
76
76
77
77
-- path separator
78
- local PS = dt .configuration .running_os == " windows" and " \\ " or " /"
78
+ local PS <const> = dt .configuration .running_os == " windows" and " \\ " or " /"
79
79
80
80
-- command separator
81
- local CS = dt .configuration .running_os == " windows" and " &" or " ;"
81
+ local CS <const> = dt .configuration .running_os == " windows" and " &" or " ;"
82
82
83
- local MODULE = " script_manager"
83
+ local MODULE <const> = " script_manager"
84
84
85
- local MIN_BUTTONS_PER_PAGE = 5
86
- local MAX_BUTTONS_PER_PAGE = 20
87
- local DEFAULT_BUTTONS_PER_PAGE = 10
85
+ local MIN_BUTTONS_PER_PAGE <const> = 5
86
+ local MAX_BUTTONS_PER_PAGE <const> = 20
87
+ local DEFAULT_BUTTONS_PER_PAGE <const> = 10
88
88
89
- local DEFAULT_LOG_LEVEL = log .error
89
+ local DEFAULT_LOG_LEVEL <const> = log .error
90
90
91
- local LUA_DIR = dt .configuration .config_dir .. PS .. " lua"
92
- local LUA_SCRIPT_REPO = " https://github.com/darktable-org/lua-scripts.git"
91
+ local LUA_DIR <const> = dt .configuration .config_dir .. PS .. " lua"
92
+ local LUA_SCRIPT_REPO <const> = " https://github.com/darktable-org/lua-scripts.git"
93
93
94
- local LUA_API_VER = " API-" .. dt .configuration .api_version_string
94
+ local LUA_API_VER <const> = " API-" .. dt .configuration .api_version_string
95
95
96
96
-- local POWER_ICON = dt.configuration.config_dir .. "/lua/data/data/icons/power.png"
97
- local POWER_ICON = dt .configuration .config_dir .. " /lua/data/icons/path20.png"
98
- local BLANK_ICON = dt .configuration .config_dir .. " /lua/data/icons/blank20.png"
97
+ local POWER_ICON <const> = dt .configuration .config_dir .. " /lua/data/icons/path20.png"
98
+ local BLANK_ICON <const> = dt .configuration .config_dir .. " /lua/data/icons/blank20.png"
99
99
100
100
-- - - - - - - - - - - - - - - - - - - - - - - -
101
101
-- P R E F E R E N C E S
0 commit comments