mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 11:12:40 +01:00
Update OS.lua
This commit is contained in:
parent
220d51d595
commit
d7d63368e8
@ -343,7 +343,7 @@ local function launchIcon(path, arguments)
|
||||
local cyka = path .. "/" .. ecs.hideFileFormat(fs.name(path)) .. ".lua"
|
||||
local success, reason = shell.execute(cyka)
|
||||
ecs.prepareToExit()
|
||||
if not success then displayCompileMessage(1, reason, true) end
|
||||
if not success then ecs.displayCompileMessage(1, reason, true) end
|
||||
|
||||
--Если это обычный луа файл - т.е. скрипт
|
||||
elseif fileFormat == ".lua" or fileFormat == nil then
|
||||
@ -353,7 +353,7 @@ local function launchIcon(path, arguments)
|
||||
if success then
|
||||
print("Программа выполнена успешно! Нажмите любую клавишу, чтобы продолжить.")
|
||||
else
|
||||
displayCompileMessage(1, reason, true)
|
||||
ecs.displayCompileMessage(1, reason, true)
|
||||
end
|
||||
|
||||
elseif fileFormat == ".png" then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user