From 2d8aa85227823467e19f280ff9dc5ac63b8a0e1b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 5 Mar 2016 07:56:50 +0100 Subject: [PATCH] fix lua script on boot (nw) --- plugins/boot.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/boot.lua b/plugins/boot.lua index 4f8c6a0ee96..77b28713c12 100644 --- a/plugins/boot.lua +++ b/plugins/boot.lua @@ -1,6 +1,5 @@ require('lfs') -local uv = require('luv') -local cwd = uv.cwd() +local cwd = lfs.currentdir() package.path = cwd .. "/plugins/?.lua;" .. cwd .. "/plugins/?/init.lua" local json = require('json')