mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-10 05:02:40 +01:00
Update OS.lua
This commit is contained in:
parent
305fb6e193
commit
574ca986cb
@ -542,14 +542,13 @@ local function launchIcon(path, arguments)
|
||||
--Если это ссылка на пастебин
|
||||
elseif fileFormat == ".paste" then
|
||||
local shortcutLink = readShortcut(path)
|
||||
ecs.prepareToExit()
|
||||
local success, reason = shell.execute("pastebin run "..shortcutLink)
|
||||
ecs.prepareToExit()
|
||||
if success then
|
||||
print(lang.programSuccessfullyExecuted)
|
||||
else
|
||||
ecs.displayCompileMessage(1, reason, true)
|
||||
end
|
||||
ecs.prepareToExit()
|
||||
local success, reason = shell.execute("pastebin run " .. shortcutLink)
|
||||
ecs.prepareToExit()
|
||||
if success then
|
||||
print(lang.programSuccessfullyExecuted)
|
||||
else
|
||||
ecs.displayCompileMessage(1, reason, true)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user