mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-02-19 16:50:09 +01:00
feat: fully delete shortcuts instead of trash
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user