From 06daf58eed178bdcc158c04b60caf74e6d0c2b8b Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Thu, 8 Jul 2021 11:35:05 +0200 Subject: [PATCH] fucccccc --- data/core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/init.lua b/data/core/init.lua index 0fe7569..ae93c02 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -126,7 +126,7 @@ function core.init() -- write project dir to log file -- create userdir first - system.exec(string.format("mkdir -p %q", USERDIR)) + os.execute(string.format("mkdir -p %q", USERDIR)) local d = io.open(USERDIR .. '/last_dir', "w") if not d then error("Error creating user file\n") end d:write(tostring(system.absolute_path(project_dir)))