Ху пизда ваигна

This commit is contained in:
Igor Timofeev 2017-10-19 03:30:03 +03:00
parent 5bb927aad2
commit e188047774
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/OS.lua",
type="Script",
forceDownload=true,
version=4.01,
version=4.02,
},
{
path="/MineOS/Pictures/MoonTouch.pic",

4
OS.lua
View File

@ -289,7 +289,7 @@ local function createOSWindow()
MineOSInterface.safeLaunch(MineOSPaths.explorer, "-o", icon.path)
end
MineOSInterface.mainContainer.iconField.launchers.showContainingFolder = function(icon)
MineOSInterface.safeLaunch(MineOSPaths.explorer, "-o", fs.path(icon.shortcutPath))
MineOSInterface.safeLaunch(MineOSPaths.explorer, "-o", fs.path(icon.shortcutPath or icon.path))
end
MineOSInterface.mainContainer.iconField.launchers.showPackageContent = function(icon)
MineOSInterface.safeLaunch(MineOSPaths.explorer, "-o", icon.path)
@ -368,7 +368,7 @@ local function createOSWindow()
end
end
menu:addItem(MineOSCore.localization.showContainingFolder).onTouch = function()
MineOSInterface.safeLaunch(MineOSPaths.explorer, "-o", fs.path(icon.shortcutPath))
MineOSInterface.safeLaunch(MineOSPaths.explorer, "-o", fs.path(icon.shortcutPath or icon.path))
end
menu:addSeparator()
menu:addItem(MineOSCore.localization.moveRight, indexOf >= #MineOSInterface.mainContainer.dockContainer.children - 1).onTouch = function()