Skip to content

Commit

Permalink
色々直した
Browse files Browse the repository at this point in the history
  • Loading branch information
puk06 committed Aug 7, 2024
1 parent a4af7ba commit c229a5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ public static void ValidateRequiredFiles()
{
if (!File.Exists("./src/Fonts/Quicksand-Light.ttf") || !File.Exists("./src/Fonts/NotoSansJP-Light.ttf"))
{
ShowErrorMessage("The font file was not found.");
ShowErrorMessage("The font file was not found. Download this software again.");
Environment.Exit(1);
}

if (!File.Exists("./src/data.json"))
{
ShowErrorMessage("The data file was not found.");
ShowErrorMessage("The data file was not found. Download this software again.");
Environment.Exit(1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion osu-launcher.Updater/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private static async Task<string> GetVersion(string currentVersion)
{
if (releaseType == "Release")
{
if (tag.Name.Split("-")[1] != "Release") continue;
if (tag.Name.Split('-')[1] != "Release") continue;
latestVersion = tag.Name;
break;
}
Expand Down

0 comments on commit c229a5d

Please sign in to comment.