diff options
Diffstat (limited to 'server/publish.lua')
-rw-r--r-- | server/publish.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/server/publish.lua b/server/publish.lua index 94a2521a..9437d85e 100644 --- a/server/publish.lua +++ b/server/publish.lua @@ -3,11 +3,7 @@ local rootPath = currentPath:gsub('[^/\\]-$', '') if rootPath == '' then rootPath = './' end -package.cpath = rootPath .. 'bin/?.so' - .. ';' .. rootPath .. 'bin/?.dll' -package.path = rootPath .. 'src/?.lua' - .. ';' .. rootPath .. 'src/?/init.lua' - +dofile(rootPath .. 'platform.lua') local fs = require 'bee.filesystem' local subprocess = require 'bee.subprocess' local platform = require 'bee.platform' |