mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 19:19:21 +01:00
Фикс запуска ярлыка, который ссылается на файл с расширением, зависимым от System/Extensions
This commit is contained in:
parent
f7dacd6900
commit
00c0cac5b2
@ -351,7 +351,11 @@ function MineOSInterface.iconLaunchers.corrupted(icon)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function MineOSInterface.iconLaunchers.extension(icon)
|
function MineOSInterface.iconLaunchers.extension(icon)
|
||||||
|
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")
|
MineOSInterface.safeLaunch(MineOSCore.properties.extensionAssociations[icon.extension].launcher, icon.path, "-o")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function MineOSInterface.iconLaunchers.script(icon)
|
function MineOSInterface.iconLaunchers.script(icon)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user