mirror of
https://github.com/Adorable-Catgirl/LuaComp.git
synced 2025-04-12 22:58:18 +10:00
Can't get directive & minifier providers to work on Windows for some reason
I temporarily commented them out for Windows TODO: test on Linux
This commit is contained in:
parent
20aa15556a
commit
6fd6b55a48
4
Makefile
4
Makefile
@ -1,9 +1,7 @@
|
|||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
export HOME = %appdata%
|
|
||||||
|
|
||||||
# If you're using Windows, change the path to wherever you put LuaComp in.
|
# If you're using Windows, change the path to wherever you put LuaComp in.
|
||||||
COMMAND = lua53 "./luacomp.lua"
|
COMMAND = lua53 "./luacomp.lua"
|
||||||
# COMMAND = lua53 "C:/Standalone Programs/luacomp-5.3.lua"
|
# COMMAND = lua53 "C:/Standalone Programs/luacomp.lua"
|
||||||
else
|
else
|
||||||
|
|
||||||
COMMAND = luacomp
|
COMMAND = luacomp
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
local directive_paths = {
|
local directive_paths = {}
|
||||||
"/usr/share/luacomp/directives",
|
if os.getenv("OS") == "Windows_NT" then
|
||||||
os.getenv("HOME").."/.local/share/luacomp/directives"
|
-- table.insert(directive_paths, os.getenv("appdata") .. "/luacomp/directives")
|
||||||
}
|
else
|
||||||
|
table.insert(directive_paths, "/usr/share/luacomp/directives")
|
||||||
|
table.insert(directive_paths, os.getenv("HOME") .. "/.local/share/luacomp/directives")
|
||||||
|
end
|
@ -16,10 +16,13 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
local postproc_paths = {
|
local postproc_paths = {}
|
||||||
"/usr/share/luacomp/postproc",
|
if os.getenv("OS") == "Windows_NT" then
|
||||||
os.getenv("HOME").."/.local/share/luacomp/postproc"
|
-- table.insert(postproc_paths, os.getenv("appdata") .. "/luacomp/postproc")
|
||||||
}
|
else
|
||||||
|
table.insert(postproc_paths, "/usr/share/luacomp/postproc")
|
||||||
|
table.insert(postproc_paths, os.getenv("HOME") .. "/.local/share/luacomp/postproc")
|
||||||
|
end
|
||||||
|
|
||||||
local providers = {}
|
local providers = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user