Skip to content

Commit 4e1c268

Browse files
committed
fix: adapt MoveToRecycleBin patch to v1.4.5
1 parent 75bd638 commit 4e1c268

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

OTAPI.Scripts/Patches/ReLogic.OS.Windows.PathService.Server.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ namespace ReLogic.OS.Windows
2727
{
2828
public class patch_PathService : ReLogic.OS.Windows.PathService
2929
{
30-
public extern bool orig_MoveToRecycleBin(string path);
31-
public override bool MoveToRecycleBin(string path)
30+
public extern void orig_MoveToRecycleBin(string path);
31+
public override void MoveToRecycleBin(string path)
3232
{
3333
System.IO.File.Delete(path);
34-
return true;
3534
}
3635
}
3736
}

0 commit comments

Comments
 (0)