fixed english

This commit is contained in:
HorizonCode 2021-05-25 11:33:06 +02:00
parent f9a593f234
commit 01584ad263
1 changed files with 18 additions and 3 deletions

View File

@ -194,7 +194,7 @@ namespace EZPPClient_Installer
await new ContentDialog()
{
Title = "Hmmm..",
Content = "It seems like this folder is not a osu! installation.",
Content = "It seems like this location is not an osu! installation.",
PrimaryButtonText = "Okay qwq"
}.ShowAsync();
}
@ -209,8 +209,13 @@ namespace EZPPClient_Installer
UpdateInstallButton(false);
string osuEZPPPath = folderTextbox.Text + @"\EZPPClient";
List<string> outdatedFiles = DownloadUtil.FilesToDownload(osuEZPPPath);
List<string> outdatedFiles = DownloadUtil.FilesToDownload(osuEZPPPath)
if (!IsEmpty(outdatedFiles))
{
InstallButton.Content = "Update";
UpdateInstallButton(true);
}
}else
UpdateInstallButton(true);
@ -267,7 +272,17 @@ namespace EZPPClient_Installer
return hasOsuExecutable && hasSkinsFolder && hasSongsFolder;
}
public static bool IsEmpty<T>(List<T> list)
{
if (list == null)
{
return true;
}
return !list.Any();
}
private enum SymbolicLink
{
File,