From 00c0cac5b2975ed0e7f66efaebf0656bc7d3854e Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Fri, 14 Sep 2018 10:21:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B7=D0=B0=D0=BF?= =?UTF-8?q?=D1=83=D1=81=D0=BA=D0=B0=20=D1=8F=D1=80=D0=BB=D1=8B=D0=BA=D0=B0?= =?UTF-8?q?,=20=D0=BA=D0=BE=D1=82=D0=BE=D1=80=D1=8B=D0=B9=20=D1=81=D1=81?= =?UTF-8?q?=D1=8B=D0=BB=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=20=D1=81=20=D1=80=D0=B0=D1=81=D1=88?= =?UTF-8?q?=D0=B8=D1=80=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=81=D0=B8=D0=BC=D1=8B=D0=BC=20=D0=BE=D1=82=20Sys?= =?UTF-8?q?tem/Extensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/MineOSInterface.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/MineOSInterface.lua b/lib/MineOSInterface.lua index 1794e508..3d01d735 100755 --- a/lib/MineOSInterface.lua +++ b/lib/MineOSInterface.lua @@ -351,7 +351,11 @@ function MineOSInterface.iconLaunchers.corrupted(icon) end function MineOSInterface.iconLaunchers.extension(icon) - MineOSInterface.safeLaunch(MineOSCore.properties.extensionAssociations[icon.extension].launcher, icon.path, "-o") + if icon.isShortcut then + MineOSInterface.safeLaunch(MineOSCore.properties.extensionAssociations[icon.shortcutExtension].launcher, icon.shortcutPath, "-o") + else + MineOSInterface.safeLaunch(MineOSCore.properties.extensionAssociations[icon.extension].launcher, icon.path, "-o") + end end function MineOSInterface.iconLaunchers.script(icon)