diff options
author | 2008-09-19 23:51:01 -0400 | |
---|---|---|
committer | 2008-09-19 23:51:01 -0400 | |
commit | 8c86c21b2fcd2c62a1f70b6d553983991a066889 (patch) | |
tree | 71d9aceafa42ea1b988527f34e1994a143ab4916 /core/init.lua | |
parent | 8ae92281275204bcb25114ddcc169981ef9b45ed (diff) | |
download | textadept-8c86c21b2fcd2c62a1f70b6d553983991a066889.tar.gz textadept-8c86c21b2fcd2c62a1f70b6d553983991a066889.zip |
Added preliminary support for Textadept on Windows.
Diffstat (limited to 'core/init.lua')
-rw-r--r-- | core/init.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/init.lua b/core/init.lua index 3acd3875..82348f1f 100644 --- a/core/init.lua +++ b/core/init.lua @@ -1,7 +1,11 @@ -- Copyright 2007-2008 Mitchell mitchell<att>caladbolg.net. See LICENSE. package.path = _HOME..'/core/?.lua;'..package.path -package.cpath = _HOME..'/core/?.so;'..package.cpath +if not WIN32 then + package.cpath = _HOME..'/core/?.so;'..package.cpath +else + package.cpath = _HOME..'/core/?.dll;'..package.cpath +end require 'iface' require 'events' |