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
|
||||
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user