Skip to content

Commit

Permalink
up 修改构建名字
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloryr committed Oct 23, 2024
1 parent 49f7185 commit 26b021a
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 98 deletions.
4 changes: 2 additions & 2 deletions build/info/linux-arm64/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: ColorMC
Package: colormc
Version: %version%
Section: free
Prioritt: optional
Architecture: arm64
Maintainer: coloryr
Description: ColorMC
Description: A Minecraft Launcher

4 changes: 2 additions & 2 deletions build/info/linux-x64/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: ColorMC
Package: colormc
Version: %version%
Section: free
Prioritt: optional
Architecture: amd64
Maintainer: coloryr
Description: ColorMC
Description: A Minecraft Launcher

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ColorMC.Core.Objs.Minecraft;
using ColorMC.Core.Objs.MinecraftAPI;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

Expand Down
2 changes: 1 addition & 1 deletion src/ColorMC.Core/Net/Motd/ServerMotd.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Net.Sockets;
using System.Text;
using ColorMC.Core.Objs.Minecraft;
using ColorMC.Core.Objs.MinecraftAPI;
using Heijden.Dns.Portable;
using Heijden.DNS;
using Newtonsoft.Json;
Expand Down
2 changes: 1 addition & 1 deletion src/ColorMC.Core/Objs/MinecraftAPI/ServerMotdObj.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ColorMC.Core.Net.Motd;
using Newtonsoft.Json;

namespace ColorMC.Core.Objs.Minecraft;
namespace ColorMC.Core.Objs.MinecraftAPI;

public enum StateType
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Avalonia.Input;
using Avalonia.Media;
using Avalonia.Threading;
using ColorMC.Core.Objs.Minecraft;
using ColorMC.Core.Objs.MinecraftAPI;
using ColorMC.Gui.UI.Flyouts;
using ColorMC.Gui.UI.Model.Items;
using ColorMC.Gui.Utils;
Expand Down
7 changes: 6 additions & 1 deletion src/ColorMC.Gui/UI/Controls/ServerMotdControl.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Avalonia.Media;
using Avalonia.Media.Imaging;
using ColorMC.Core.Net.Motd;
using ColorMC.Core.Objs.Minecraft;
using ColorMC.Core.Objs.MinecraftAPI;
using ColorMC.Gui.Utils;

namespace ColorMC.Gui.UI.Controls;
Expand Down Expand Up @@ -82,6 +82,8 @@ private void Button2_Click(object? sender, RoutedEventArgs e)

private async void Update()
{
Button2.IsVisible = false;

Grid1.IsVisible = true;

_firstLine = true;
Expand All @@ -95,6 +97,7 @@ private async void Update()
var port = _port;
if (ip == null)
{
Button2.IsVisible = true;
return;
}

Expand Down Expand Up @@ -123,6 +126,8 @@ private async void Update()
Grid2.IsVisible = true;
}
Grid1.IsVisible = false;

Button2.IsVisible = true;
}

public void MakeText(Chat chat)
Expand Down
89 changes: 0 additions & 89 deletions src/ColorMC.Gui/UI/Controls/Skin/OpenGL/SkinShader.cs

This file was deleted.

1 change: 1 addition & 0 deletions src/ColorMC.Gui/UI/Model/Items/ResourcePackModel.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.IO;
using Avalonia.Media.Imaging;
using ColorMC.Core.Objs.Minecraft;
using ColorMC.Core.Objs.MinecraftAPI;
using ColorMC.Gui.Manager;
using ColorMC.Gui.UI.Model.GameEdit;
using ColorMC.Gui.UIBinding;
Expand Down
1 change: 1 addition & 0 deletions src/ColorMC.Gui/UIBinding/GameBinding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
using ColorMC.Core.Objs.Login;
using ColorMC.Core.Objs.McMod;
using ColorMC.Core.Objs.Minecraft;
using ColorMC.Core.Objs.MinecraftAPI;
using ColorMC.Core.Objs.Modrinth;
using ColorMC.Core.Objs.ServerPack;
using ColorMC.Core.Utils;
Expand Down

0 comments on commit 26b021a

Please sign in to comment.