mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-08 20:22:38 +01:00
Update github.lua
This commit is contained in:
parent
bb9b15649d
commit
e997084c34
@ -86,7 +86,9 @@ if args[1] == "set" then
|
||||
fs.makeDirectory(fs.path(pathToConfig))
|
||||
config.write(pathToConfig, "currentRepository", args[2])
|
||||
currentRepository = args[2]
|
||||
info(" ")
|
||||
info("Текущий репозиторий изменен на "..currentRepository)
|
||||
info(" ")
|
||||
elseif args[1] == "get" then
|
||||
if not fs.exists(pathToConfig) then
|
||||
io.write("\nТекущий репозиторий не установлен. Используйте \"github set <путь к репозиторию>\".\n\n")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user