mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-27 10:12:48 +01:00
Koooosok govna
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user