From e1880477743e42d409033d231ad434cea7e9e475 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Thu, 19 Oct 2017 03:30:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A5=D1=83=20=D0=BF=D0=B8=D0=B7=D0=B4=D0=B0?= =?UTF-8?q?=20=D0=B2=D0=B0=D0=B8=D0=B3=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications.cfg | 2 +- OS.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Applications.cfg b/Applications.cfg index a4489ab0..9cfa143d 100644 --- a/Applications.cfg +++ b/Applications.cfg @@ -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", diff --git a/OS.lua b/OS.lua index 2010d68e..4b6a0fdd 100755 --- a/OS.lua +++ b/OS.lua @@ -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()