mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Explictly add recursive & Fix build
This commit is contained in:
parent
c9e85a1888
commit
7762c7929e
1 changed files with 4 additions and 3 deletions
|
|
@ -187,7 +187,7 @@ public partial class SettingsPaneAboutViewModel : BaseModel
|
|||
try
|
||||
{
|
||||
// Log folders are the last level of folders
|
||||
dir.Delete(false);
|
||||
dir.Delete(recursive: false);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
@ -239,7 +239,7 @@ public partial class SettingsPaneAboutViewModel : BaseModel
|
|||
try
|
||||
{
|
||||
// Plugin may create directories in its cache directory
|
||||
dir.Delete(true);
|
||||
dir.Delete(recursive: true);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
@ -249,10 +249,11 @@ public partial class SettingsPaneAboutViewModel : BaseModel
|
|||
});
|
||||
|
||||
// Then, delete plugin directory
|
||||
var dir = GetPluginCacheDir();
|
||||
try
|
||||
{
|
||||
// Log folders are the last level of folders
|
||||
GetPluginCacheDir().Delete(false);
|
||||
dir.Delete(recursive: false);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue