Fix package paths.

This commit is contained in:
wan-may 2023-09-12 12:20:03 -03:00
parent a6e14499bf
commit dc6cdf123e
3 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,3 @@
package.path = package.path .. ";lib/"
package.cpath = package.path .. ";lib/"
local shared = assert( require 'shared' ) local shared = assert( require 'shared' )
local packet = shared.packet local packet = shared.packet
local socket = assert( require 'socket' ) local socket = assert( require 'socket' )

View File

@ -1,3 +1,5 @@
package.cpath = ".\\?.dll;..\\build\\clib\\?.dll;"..package.cpath
package.path = ".\\?.lua;..\\build\\lualib\\?.lua;"..package.path
local shared = {} local shared = {}
shared.ip = assert( require 'shared.ipstring' ) shared.ip = assert( require 'shared.ipstring' )

View File

@ -1,2 +0,0 @@
D:/dev/love/love.exe D:\dev\vision\src
pause