some fixes in lua files

This commit is contained in:
George Sokianos 2022-02-05 13:35:38 +00:00
parent 8fe3c75339
commit b5831ace20
2 changed files with 3 additions and 2 deletions

View File

@ -695,7 +695,7 @@ function core.init()
local plugins_success, plugins_refuse_list = core.load_plugins()
do
local pdir, pname = project_dir_abs:match("(.*)[/\\\\](.*)")
local pdir, pname = project_dir_abs:match("(.*)[:/\\\\](.*)")
core.log("Opening project %q from directory %s", pname, pdir)
end
local got_project_error = not core.load_project_module()
@ -1374,3 +1374,4 @@ end
return core

View File

@ -1,5 +1,5 @@
-- this file is used by lite-xl to setup the Lua environment when starting
VERSION = "2.0.4"
VERSION = "2.0.3"
MOD_VERSION = "2"
SCALE = tonumber(os.getenv("LITE_SCALE") or os.getenv("GDK_SCALE") or os.getenv("QT_SCALE_FACTOR")) or SCALE