From d76d5688c4e044120306aa1013c7d84900e6384e Mon Sep 17 00:00:00 2001 From: Leon Shepelev <64076484+Procybit@users.noreply.github.com> Date: Sun, 27 Nov 2022 19:09:09 +0300 Subject: [PATCH] feat: fully delete shortcuts instead of trash --- Libraries/System.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/System.lua b/Libraries/System.lua index e6ca08d6..a418e86e 100755 --- a/Libraries/System.lua +++ b/Libraries/System.lua @@ -593,7 +593,7 @@ local function moveSelectedIconsToTrash(selectedIcons) for i = 1, #selectedIcons do icon = selectedIcons[i] - if filesystem.path(icon.path) == paths.user.trash then + if filesystem.path(icon.path) == paths.user.trash or icon.isShortcut then filesystem.remove(icon.path) else local name = filesystem.name(icon.path)