mirror of https://github.com/LDDestroier/CC/
Changed API path
This commit is contained in:
parent
7555a48ccf
commit
9fd9a977b5
|
@ -1,5 +1,5 @@
|
||||||
local getAPI = function(apiname, apipath, apiurl, doDoFile, doScroll)
|
local getAPI = function(apiname, apipath, apiurl, doDoFile, doScroll)
|
||||||
apipath = fs.combine(fs.getDir(shell.getRunningProgram()), apipath)
|
apipath = fs.combine(".roterm-api", apipath)
|
||||||
if (not fs.exists(apipath)) then
|
if (not fs.exists(apipath)) then
|
||||||
if doScroll then term.scroll(1) end
|
if doScroll then term.scroll(1) end
|
||||||
print(apiname .. " API not found! Downloading...")
|
print(apiname .. " API not found! Downloading...")
|
||||||
|
|
Loading…
Reference in New Issue