diff --git a/RustTools/App.xaml.cs b/RustTools/App.xaml.cs index a439d5a..dba5fc5 100644 --- a/RustTools/App.xaml.cs +++ b/RustTools/App.xaml.cs @@ -141,9 +141,9 @@ public partial class App : Microsoft.UI.Xaml.Application } else { - new Editor.EditorWin().Activate(); - //MainWindow = new MainWindow(); - //await App.GetService().ActivateAsync(args); + //new Editor.EditorWin().Activate(); + MainWindow = new MainWindow(); + await App.GetService().ActivateAsync(args); } } } diff --git a/RustTools/README.md b/RustTools/README.md index 83a2439..b4299ec 100644 --- a/RustTools/README.md +++ b/RustTools/README.md @@ -11,14 +11,11 @@ 必须安装Net框架 https://dotnet.microsoft.com/zh-cn/download Net版本必须大于或者等于7 -## 计划 - 基本的社区界面 - 代码表 - 模组编辑器 - git(可能会废弃) - AI辅助(可能会废弃) - 目前不考虑支持其他语言 - 自动识别steam下铁锈的模组和地图的路径 +## 计划(1.0) +我尝试自己写编译器组件,但科研了很多天没有一点点的思路,我想我的实力应该还是不够强(毕竟开发只有我一个人)所以 +咱们的软件先做好基础的社区功能代码表也尝试做出来,大家不着急呀
+WinUI还是比较冷门的一个技术,代码和例子都不多 关于编译器的话现在是不准备写WinUI版本了 +和WinUI分开,找一种比较简单的语言框架来写,所以等吧各位,也希望有人能够和我一起做PC端上面的铁锈助手 ## 开发者:Muqing 对于进一步的技术交流、合作或项目贡献,您可以直接联系开发者 Muqing: diff --git a/RustTools/RustTools.csproj b/RustTools/RustTools.csproj index 8b93906..f1f0cec 100644 --- a/RustTools/RustTools.csproj +++ b/RustTools/RustTools.csproj @@ -60,4 +60,14 @@ + + + + + + + + MSBuild:Compile + + \ No newline at end of file diff --git a/RustTools/Themes/NullPage.xaml b/RustTools/Themes/NullPage.xaml new file mode 100644 index 0000000..82f1d0c --- /dev/null +++ b/RustTools/Themes/NullPage.xaml @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/RustTools/Themes/NullPage.xaml.cs b/RustTools/Themes/NullPage.xaml.cs new file mode 100644 index 0000000..44c1e21 --- /dev/null +++ b/RustTools/Themes/NullPage.xaml.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Microsoft.UI.Xaml; +using Microsoft.UI.Xaml.Controls; +using Microsoft.UI.Xaml.Controls.Primitives; +using RustTools.Styles; + +namespace RustTools.Themes; +public sealed partial class NullPage : UserControl +{ + public NullPage() + { + DefaultStyleKey = typeof(NullPage); + } +} diff --git a/RustTools/Views/ConcernPage.xaml b/RustTools/Views/ConcernPage.xaml index 6bca285..2ac32a3 100644 --- a/RustTools/Views/ConcernPage.xaml +++ b/RustTools/Views/ConcernPage.xaml @@ -6,45 +6,56 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="using:RustTools.Views" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:themes="using:RustTools.Themes" SizeChanged="Page_SizeChanged" mc:Ignorable="d"> - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/RustTools/Views/UserPage.xaml b/RustTools/Views/UserPage.xaml index 47ebbd0..0081b09 100644 --- a/RustTools/Views/UserPage.xaml +++ b/RustTools/Views/UserPage.xaml @@ -10,108 +10,151 @@ mc:Ignorable="d"> - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - +