Skip to content

Commit

Permalink
Merge pull request #6 from SeaDevTeam/bugFix1
Browse files Browse the repository at this point in the history
Bugfix by Get#2182
  • Loading branch information
NoobNotFound authored Jun 26, 2022
2 parents 9f7d5e5 + 8e2e318 commit cc7a33e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ClientHandler/ClientHandler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<SupportedOSPlatformVersion>10.0.18362.0</SupportedOSPlatformVersion>
<ApplicationIcon>icon.ico</ApplicationIcon>
<StartupObject>ClientHandler.Program</StartupObject>
<UseWindowsForms>True</UseWindowsForms>
<UseWindowsForms>False</UseWindowsForms>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Package/Package.wapproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<AppxBundlePlatforms>x86|x64|arm|arm64</AppxBundlePlatforms>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
<AppInstallerUri>C:\</AppInstallerUri>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion SDLauncher UWP/Helpers/Labrinth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static int AddTask(string name)
{
return vars.Launcher.TasksHelper.AddTask(name);
}
public static void CompleteTask(int ID)
public static void CompleteTask(int ID,bool? IsSuccess = null)
{
vars.Launcher.TasksHelper.CompleteTask(ID);
}
Expand Down
4 changes: 2 additions & 2 deletions SDLauncher UWP/Views/BaseLauncherPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,10 @@ private async void VersionCheck(MenuFlyoutItem item)
//
public string SearchFabric(string ver)
{
var item = from t in vars.Launcher.FabricMCVersions where t.Name.Contains(ver) select t;
var item = from t in vars.Launcher.FabricMCVersions where t.Name.EndsWith(ver) select t;
if (item != null)
{
return item.First().Name;
return item.FirstOrDefault().Name;
}
else
{
Expand Down

0 comments on commit cc7a33e

Please sign in to comment.