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