We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb0233 commit 1073821Copy full SHA for 1073821
1 file changed
Plugins/Flow.Launcher.Plugin.Sys/Main.cs
@@ -252,8 +252,10 @@ private List<Result> Commands()
252
var result = PInvoke.SHEmptyRecycleBin(new(), string.Empty, 0);
253
if (result != HRESULT.S_OK && result != HRESULT.E_UNEXPECTED)
254
{
255
- context.API.ShowMsgBox($"Error emptying recycle bin, error code: {result}\n" +
256
- "please refer to https://msdn.microsoft.com/en-us/library/windows/desktop/aa378137",
+ context.API.ShowMsgBox("Failed to empty the recycle bin. This might happen if:\n" +
+ "- A file in the recycle bin is in use\n" +
257
+ "- You don't have permission to delete some items\n" +
258
+ "Please close any applications that might be using these files and try again.",
259
"Error",
260
MessageBoxButton.OK, MessageBoxImage.Error);
261
}
0 commit comments