diff options
Diffstat (limited to 'main-beta.lua')
-rw-r--r-- | main-beta.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main-beta.lua b/main-beta.lua index bdef0b6b..0f52e962 100644 --- a/main-beta.lua +++ b/main-beta.lua @@ -1,6 +1,6 @@ local currentPath = debug.getinfo(1, 'S').source:sub(2) local rootPath = currentPath:gsub('[/\\]*[^/\\]-$', '') -loadfile(rootPath .. '/platform.lua')('script-beta') +loadfile((rootPath == '' and '.' or rootPath) .. '/platform.lua')('script-beta') local fs = require 'bee.filesystem' ROOT = fs.path(rootPath) LANG = LANG or 'en-US' |