Commit 94a271f3 authored by nanahira's avatar nanahira

windows pick script

parent 6f99f65d
...@@ -27,7 +27,7 @@ function Auxiliary.SplitData(inputstr) ...@@ -27,7 +27,7 @@ function Auxiliary.SplitData(inputstr)
end end
function Auxiliary.LoadDB(p,pool) function Auxiliary.LoadDB(p,pool)
local file=nil local file=nil
if HOSTED_ON_WINDOWS then if _WIN32 then
file=io.popen("bash echo \"select * from datas;\" | sqlite3 "..pool) file=io.popen("bash echo \"select * from datas;\" | sqlite3 "..pool)
else else
file=io.popen("echo \"select * from datas;\" | sqlite3 "..pool) file=io.popen("echo \"select * from datas;\" | sqlite3 "..pool)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment