fixed english
This commit is contained in:
parent
f9a593f234
commit
01584ad263
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user