Koooosok govna

This commit is contained in:
igor
2017-11-21 17:57:05 +03:00
parent f68582da86
commit 97ccce1dae
6 changed files with 10 additions and 250 deletions

View File

@@ -825,7 +825,11 @@ function MineOSInterface.iconRightClick(icon, eventData)
table.insert(itemsToArchive, selectedIcons[i].path)
end
require("archive").pack(fs.path(icon.path) .. "/Archive.arc", itemsToArchive)
local success, reason = require("archive").pack(fs.path(icon.path) .. "/Archive.arc", itemsToArchive)
if not success then
GUI.error(reason)
end
computer.pushSignal("MineOSCore", "updateFileList")
end