mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
remove useless code
This commit is contained in:
@@ -41,23 +41,6 @@ namespace Wox.Core.Resource
|
||||
Log.Error($"|ResourceMerger.UpdatePluginLanguages|Can't find plugin path <{location}> for <{plugin.Metadata.Name}>");
|
||||
}
|
||||
}
|
||||
|
||||
MakesureDirectoriesExist();
|
||||
}
|
||||
|
||||
private void MakesureDirectoriesExist()
|
||||
{
|
||||
if (!Directory.Exists(DirectoryPath))
|
||||
{
|
||||
try
|
||||
{
|
||||
Directory.CreateDirectory(DirectoryPath);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Exception($"|Internationalization.MakesureDirectoriesExist|Exception when create directory <{DirectoryPath}>", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void ChangeLanguage(string languageCode)
|
||||
|
||||
Reference in New Issue
Block a user