设置为 en-US。 然后取消
28 | //对以下 NeutralResourceLanguage 特性的注释。 更新
29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置
36 | //(未在页面中找到资源时使用,
37 | //或应用程序资源字典中找到时使用)
38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
39 | //(未在页面中找到资源时使用,
40 | //、应用程序或任何主题专用资源字典中找到时使用)
41 | )]
42 |
43 |
44 | // 程序集的版本信息由下列四个值组成:
45 | //
46 | // 主版本
47 | // 次版本
48 | // 生成号
49 | // 修订号
50 | //
51 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
52 | //通过使用 "*",如下所示:
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("0.0.2.0")]
55 | [assembly: AssemblyFileVersion("0.0.2.0")]
56 |
--------------------------------------------------------------------------------
/Cake Launcher/Pages/Settings/SettingsList.xaml:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Cake Launcher/Pages/DownloadCenter/DownloadCenterMainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 | using System.Windows.Threading;
16 | using MahApps.Metro.Controls;
17 |
18 | namespace Cake_Launcher.Pages.DownloadCenter
19 | {
20 | ///
21 | /// DownloadCenterMainPage.xaml 的交互逻辑
22 | ///
23 | public partial class DownloadCenterMainPage : Page
24 | {
25 | Pages.DownloadCenter.ResourcesView ResourcesView = new Pages.DownloadCenter.ResourcesView();
26 | public DownloadCenterMainPage()
27 | {
28 | InitializeComponent();
29 | DispatcherTimer timer = new DispatcherTimer();
30 | timer.Interval = new TimeSpan(0, 0, 5);//设置的间隔为一分钟
31 | timer.IsEnabled = true;
32 | timer.Start();
33 | }
34 | private void timer_Tick(object sender, EventArgs e)
35 | {
36 |
37 | }
38 | private void FlipView_SelectionChanged(object sender, SelectionChangedEventArgs e)
39 | {
40 | var flipview = ((FlipView)sender);
41 | switch (flipview.SelectedIndex)
42 | {
43 | case 0:
44 | flipview.BannerText = "下载中心暂未制作完成,敬请期待";
45 | break;
46 | case 1:
47 | flipview.BannerText = "CurseForge 上热门 —— Just Enough Items";
48 | break;
49 | case 2:
50 | flipview.BannerText = "隆重向您推荐:Sodium";
51 | break;
52 | }
53 | }
54 | private void TileClick_ModDownload(object sender, RoutedEventArgs e)
55 | {
56 | DownloadContent.Content = new Frame
57 | {
58 | Content = ResourcesView
59 | };
60 | }
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | - **简体中文**
2 | - [English](https://github.com/Big-Cake-jpg/Cake-Launcher/blob/dev/README-en.md)
3 |
4 |
5 |
6 | Cake Launcher | Minecraft 启动器
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ## 这是什么?
20 |
21 | 这是一个全新的 Metro 风格 Minecraft 启动器 `Cake Launcher` 的代码仓库
22 |
23 | 我们**希望有能力的大佬来贡献**
24 |
25 | ## 无法启动?
26 |
27 | 本启动器至少需要 .NET Framework 4.7.2,未来的 WinUI 3 版本最低需要 .NET Core 5 和 Windows 10 1809
28 |
29 | 在启动或贡献代码之前请先检查你的电脑是否安装了上述运行环境
30 |
31 | ## 已知BUG:
32 |
33 | **本启动器尚在 PREVIEW 阶段,可以理解**
34 |
35 | 1.JAVA运行时暂时扫描不到 Zulu 的 OpenJDK
36 |
37 | 2.微软登录暂时是摆设
38 |
39 | 3.大部分功能暂时不可用
40 |
41 | ## 如何参与编写?
42 |
43 | 在 `GitHub` 页面右上角找到 `Fork` 并点击
44 |
45 | 这样 `GitHub` 会把仓库复制到与本仓库同名的仓库
46 |
47 | 然后使用 `Git` 等工具拉取文件并开始编写即可
48 |
49 | 编写完以后 **`上传`** 即可,然后 **打开一个 `Pull Request`**
50 |
51 | **写明你写了什么**
52 |
53 | 经过审核之后**会 `融入代码` 并 `Close Pull Request`**
54 |
55 | ## 友情链接
56 |
57 | [FluentCore](https://github.com/Xcube-Studio/FluentCore) | [Fluent-Launcher](https://github.com/Xcube-Studio/Fluent-Launcher)
58 |
--------------------------------------------------------------------------------
/Cake Launcher/Pages/GameSettings.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/Cake Launcher/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Cake_Launcher.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Cake_Launcher.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 重写当前线程的 CurrentUICulture 属性,对
51 | /// 使用此强类型资源类的所有资源查找执行重写。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/README-en.md:
--------------------------------------------------------------------------------
1 | - [简体中文](https://github.com/Big-Cake-jpg/Cake-Launcher/blob/dev/README.md)
2 | - **English**
3 |
4 |
5 |
6 | Cake Launcher | Minecraft Launcher
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | ## What's this?
19 |
20 | This is the code repository for a brand new Metro style Minecraft launcher `Cake Launcher`
21 |
22 | We **hope for capable bigwigs to contribute**
23 |
24 | ## Unable to start?
25 |
26 | This launcher requires at least .NET Framework 4.7.2, and future WinUI 3 versions require at least .NET Core 5 and Windows 10 1809
27 |
28 | Before starting or contributing code, please check whether your computer has the above operating environment installed
29 |
30 | ## Known bugs:
31 |
32 | **This launcher is still in the PREVIEW stage, understandable**
33 |
34 | 1. The OpenJDK of Zulu cannot be scanned temporarily when JAVA is running
35 |
36 | 2. Microsoft login is temporarily a decoration
37 |
38 | 3. Most functions are temporarily unavailable
39 |
40 | ## How to get involved in writing?
41 |
42 | Find `Fork` in the upper right corner of the `GitHub` page and click
43 |
44 | This way `GitHub` will copy the repository to the repository with the same name as this repository
45 |
46 | Then use tools like `Git` to pull the file and start writing
47 |
48 | After writing, **`upload`**, then **open a `Pull Request`**
49 |
50 | **Write what you wrote**
51 |
52 | After review **will `integrate into code` and `Close Pull Request`**
53 |
54 | ## Links
55 |
56 | [FluentCore](https://github.com/Xcube-Studio/FluentCore) | [Fluent-Launcher](https://github.com/Xcube-Studio/Fluent-Launcher)
57 |
--------------------------------------------------------------------------------
/Cake Launcher/LoginUI/AuthlibInjector.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Cake Launcher/Pages/DownloadCenter/ResourcesView.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Cake Launcher/Pages/DownloadCenter/DownloadCenterMainPage.xaml:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/Cake Launcher/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Oo]ut/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio LightSwitch build output
298 | **/*.HTMLClient/GeneratedArtifacts
299 | **/*.DesktopClient/GeneratedArtifacts
300 | **/*.DesktopClient/ModelManifest.xml
301 | **/*.Server/GeneratedArtifacts
302 | **/*.Server/ModelManifest.xml
303 | _Pvt_Extensions
304 |
305 | # Paket dependency manager
306 | .paket/paket.exe
307 | paket-files/
308 |
309 | # FAKE - F# Make
310 | .fake/
311 |
312 | # CodeRush personal settings
313 | .cr/personal
314 |
315 | # Python Tools for Visual Studio (PTVS)
316 | __pycache__/
317 | *.pyc
318 |
319 | # Cake - Uncomment if you are using it
320 | # tools/**
321 | # !tools/packages.config
322 |
323 | # Tabs Studio
324 | *.tss
325 |
326 | # Telerik's JustMock configuration file
327 | *.jmconfig
328 |
329 | # BizTalk build output
330 | *.btp.cs
331 | *.btm.cs
332 | *.odx.cs
333 | *.xsd.cs
334 |
335 | # OpenCover UI analysis results
336 | OpenCover/
337 |
338 | # Azure Stream Analytics local run output
339 | ASALocalRun/
340 |
341 | # MSBuild Binary and Structured Log
342 | *.binlog
343 |
344 | # NVidia Nsight GPU debugger configuration file
345 | *.nvuser
346 |
347 | # MFractors (Xamarin productivity tool) working folder
348 | .mfractor/
349 |
350 | # Local History for Visual Studio
351 | .localhistory/
352 |
353 | # BeatPulse healthcheck temp database
354 | healthchecksdb
355 |
356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
357 | MigrationBackup/
358 |
359 | # Ionide (cross platform F# VS Code tools) working folder
360 | .ionide/
361 |
362 | # Fody - auto-generated XML schema
363 | FodyWeavers.xsd
--------------------------------------------------------------------------------
/Cake Launcher/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/Cake Launcher/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
16 |
17 |
18 |
19 |
20 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/Cake Launcher/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using Cake_Launcher.LoginUI;
2 | using Cake_Launcher.Pages;
3 | using MahApps.Metro.Controls;
4 | using Microsoft.Win32;
5 | using Newtonsoft.Json;
6 | using System;
7 | using System.ComponentModel;
8 | using System.IO;
9 | using System.Net;
10 | using System.Threading.Tasks;
11 | using System.Windows;
12 | using System.Windows.Controls;
13 |
14 | namespace Cake_Launcher
15 | {
16 | ///
17 | /// MainWindow.xaml 的交互逻辑
18 | ///
19 | public partial class MainWindow
20 | {
21 | //public static MainWindow win;
22 |
23 | //初始化启动器
24 |
25 | LoginUI.Offline Offline = new LoginUI.Offline();
26 | LoginUI.Microsoft Microsoft = new LoginUI.Microsoft();
27 | LoginUI.Mojang Mojang = new LoginUI.Mojang();
28 | LoginUI.Authlib_Injector AuthlibInjector = new LoginUI.Authlib_Injector();
29 | Pages.GameSettings gamesettings = new Pages.GameSettings();
30 | Pages.Settings.SettingsMainPage settingsmain = new Pages.Settings.SettingsMainPage();
31 | Pages.DownloadCenter.DownloadCenterMainPage DownloadCenterMainPage = new Pages.DownloadCenter.DownloadCenterMainPage();
32 | public int launchMode = 1;
33 | microsoft_launcher.MicrosoftAPIs microsoftAPIs = new microsoft_launcher.MicrosoftAPIs();
34 | SquareMinecraftLauncher.Minecraft.Game game = new SquareMinecraftLauncher.Minecraft.Game();
35 | SquareMinecraftLauncher.Minecraft.Tools tools = new SquareMinecraftLauncher.Minecraft.Tools();
36 | SquareMinecraftLauncher.MinecraftDownload minecraftDownload = new SquareMinecraftLauncher.MinecraftDownload();
37 | Setting setting = new Setting();
38 | string SettingPath = @"cakelauncher.json";
39 | RegisterSetting registerSetting = new RegisterSetting();
40 | //Frame PageFrame = new Frame() { Content = new MainWindow()};
41 | //Frame SettingsFrame = new Frame() { Content = new Pages.Settings.SettingsMainPage()};
42 | //Frame DownloadFrame = new Frame() { Content = new Pages.DownloadCenter.DownloadCenterMainPage()};
43 | //public enum WindowsID
44 | //{
45 | // PageFrame,
46 | // SettingsFrame,
47 | // DownloadFrame
48 | //}
49 |
50 | //设置保存(json)
51 | public class Setting
52 | {
53 | public string RAM = "1024";
54 | }
55 | public class RegisterSetting
56 | {
57 | public string name = "Big_Cake";
58 | }
59 |
60 | public void LauncherInitialization()
61 | {
62 | if (!File.Exists(SettingPath))
63 | {
64 | File.WriteAllText(SettingPath, JsonConvert.SerializeObject(setting));
65 | }
66 | else
67 | {
68 | setting = JsonConvert.DeserializeObject(File.ReadAllText(SettingPath));
69 | }
70 | //设置保存(注册表)
71 | bool isFirst = true;
72 | using (RegistryKey Key1 = Registry.CurrentUser.OpenSubKey("SOFTWARE"))
73 | {
74 | foreach (var i in Key1.GetSubKeyNames())
75 | {
76 | if (i == "Cake Launcher")
77 | {
78 | isFirst = false;
79 | }
80 | }
81 | }
82 | if (isFirst)
83 | {
84 | using (RegistryKey key = Registry.CurrentUser)
85 | {
86 | using (RegistryKey software = key.CreateSubKey("Software\\Cake Launcher"))
87 | {
88 | software.SetValue("name", registerSetting.name);
89 | }
90 | }
91 | }
92 | else
93 | {
94 | using (RegistryKey key = Registry.CurrentUser)
95 | {
96 | using (RegistryKey software = key.CreateSubKey("Software\\Cake Launcher"))
97 | {
98 | registerSetting.name = software.GetValue("name").ToString();
99 | }
100 | }
101 | }
102 | }
103 |
104 | //设置默认的 Java 与版本选择
105 | public MainWindow()
106 | {
107 | InitializeComponent();
108 | //win = this;
109 | //WindowChange(WindowsID.PageFrame);
110 | LauncherInitialization();
111 | ServicePointManager.DefaultConnectionLimit = 512;
112 | var versions = tools.GetAllTheExistingVersion();
113 | gamesettings.versionCombo.ItemsSource = versions;
114 | gamesettings.JavaPathCombo.ItemsSource = tools.GetJavaPath();
115 | if (gamesettings.versionCombo.Items.Count != 0)
116 | gamesettings.versionCombo.SelectedItem = gamesettings.versionCombo.Items[0];
117 | if (gamesettings.JavaPathCombo.Items.Count != 0)
118 | gamesettings.JavaPathCombo.SelectedItem = gamesettings.JavaPathCombo.Items[0];
119 | gamesettings.MemoryTextBox.Text = setting.RAM;
120 | }
121 | #region
122 | //public void CompleteFile()
123 | //{
124 | // try
125 | // {
126 | // tools.DownloadSourceInitialization(DownloadSource.bmclapiSource);
127 | // var v = tools.GetMissingFile(versionCombo.SelectedValue.ToString());
128 | // Gac.DownLoadFile downLoadFile = new Gac.DownLoadFile();
129 | // foreach (var i in v)
130 | // {
131 | // downLoadFile.AddDown(i.Url, i.path);
132 | // }
133 | // downLoadFile.StartDown(0);
134 | // }
135 | // catch (Exception e)
136 | // {
137 | // System.Windows.MessageBox.Show(e.ToString(), "补全文件失败");
138 | // }
139 | //}
140 | #endregion
141 |
142 | //启动游戏
143 | public async void GameStart()
144 | {
145 | try
146 | {
147 | if (startbutton.Content.ToString() == "确认启动吗?")
148 | {
149 | startbutton.Content = "Stage 1 - 补全文件";
150 | //CompleteFile();
151 | if (gamesettings.versionCombo.Text != string.Empty &&
152 | gamesettings.JavaPathCombo.Text != string.Empty &&
153 | (Offline.UserID.Text != string.Empty || Mojang.MojangEmail.Text != string.Empty && Mojang.MojangPassword.Password != string.Empty &&
154 | gamesettings.MemoryTextBox.Text != string.Empty))
155 | {
156 | switch (launchMode)
157 | {
158 | case 1:
159 | startbutton.Content = "Stage 2 - 启动游戏";
160 | await game.StartGame(gamesettings.versionCombo.Text, gamesettings.JavaPathCombo.SelectedValue.ToString(), Convert.ToInt32(gamesettings.MemoryTextBox.Text), Offline.UserID.Text);
161 | break;
162 | case 2:
163 | startbutton.Content = "Stage 2 - Mojang 正版登录";
164 | await game.StartGame(gamesettings.versionCombo.Text, gamesettings.JavaPathCombo.SelectedValue.ToString(), Convert.ToInt32(gamesettings.MemoryTextBox.Text), Mojang.MojangEmail.Text, Mojang.MojangPassword.Password);
165 | startbutton.Content = "Stage 3 - 启动游戏";
166 | break;
167 | case 3:
168 | startbutton.Content = "Stage 2 - 微软正版登录";
169 | microsoft_launcher.MicrosoftAPIs microsoftAPIs = new microsoft_launcher.MicrosoftAPIs();
170 | var v = Microsoft.browser.Source.ToString().Replace(microsoftAPIs.cutUri, string.Empty);
171 | var t = Task.Run(() =>
172 | {
173 | return microsoftAPIs.GetAccessTokenAsync(v, false).Result;
174 | });
175 | await t;
176 | var v1 = microsoftAPIs.GetAllThings(t.Result.access_token, false);
177 | startbutton.Content = "Stage 3 - 启动游戏";
178 | await game.StartGame(gamesettings.versionCombo.Text, gamesettings.JavaPathCombo.SelectedValue.ToString(), Convert.ToInt32(gamesettings.MemoryTextBox.Text), v1.name, v1.uuid, v1.mcToken, string.Empty, string.Empty);
179 | break;
180 | case 4:
181 | startbutton.Content = "Stage 2 - 登录";
182 | await game.StartGame(gamesettings.versionCombo.Text, gamesettings.JavaPathCombo.SelectedValue.ToString(), Convert.ToInt32(gamesettings.MemoryTextBox.Text), AuthlibInjector.authlibInjectorAvatarChoose.ChooseAvatar.Text, AuthlibInjector.authlibInjectorAvatarChoose.ChooseAvatar.SelectedValue.ToString(), AuthlibInjector.skin.accessToken, string.Empty, string.Empty);
183 | startbutton.Content = "Stage 3 - 启动游戏";
184 | break;
185 | }
186 | }
187 | else
188 | {
189 | System.Windows.MessageBox.Show("信息未填完整", "错误");
190 | }
191 | }
192 | }
193 | catch (Exception e)
194 | {
195 | System.Windows.MessageBox.Show("启动失败" + e.Message, "错误");
196 | }
197 | finally
198 | {
199 | startbutton.Content = "确认启动吗?";
200 | }
201 | }
202 |
203 | //应用内磁贴
204 | private void ButtonClick_StartGame(object sender, RoutedEventArgs e)
205 | {
206 | GameStart();
207 | }
208 | private void TileClick_OpenHelp(object sender, RoutedEventArgs e)
209 | {
210 |
211 | }
212 | /// 微软正版
213 | private void TileClick_Microsoft(object sender, RoutedEventArgs e)
214 | {
215 | LoginContent.Content = new Frame
216 | {
217 | Content = Microsoft
218 | };
219 | launchMode = 3;
220 | }
221 | /// 离线登录
222 | private void TileClick_Offline(object sender, RoutedEventArgs e)
223 | {
224 | LoginContent.Content = new Frame
225 | {
226 | Content = Offline
227 | };
228 | launchMode = 1;
229 | }
230 | /// Authlib-Injector 外置登录
231 | private void TileClick_AuthlibInjector(object sender, RoutedEventArgs e)
232 | {
233 | LoginContent.Content = new Frame
234 | {
235 | Content = AuthlibInjector
236 | };
237 | launchMode = 4;
238 | }
239 | /// Mojang 正版
240 | private void TileClick_Mojang(object sender, RoutedEventArgs e)
241 | {
242 | LoginContent.Content = new Frame
243 | {
244 | Content = Mojang
245 | };
246 | launchMode = 2;
247 | }
248 |
249 | //设置保存
250 | private void MemoryTextBox_TextChanged(object sender, TextChangedEventArgs e)
251 | {
252 | setting.RAM = gamesettings.MemoryTextBox.Text;
253 | }
254 | private void Window_Closing(object sender, CancelEventArgs e)
255 | {
256 | File.WriteAllText(SettingPath, JsonConvert.SerializeObject(setting));
257 | }
258 |
259 | //杂七杂八的
260 | private void TileClick_NeverGonnaGiveYouUp(object sender, EventArgs e)
261 | {
262 | System.Diagnostics.Process.Start("https://www.bilibili.com/video/BV1va411w7aM/");
263 | }
264 | private void TileClick_OpenGameSettings(object sender, RoutedEventArgs e)
265 | {
266 | //MainWindow.win.WindowChange(MainWindow.WindowsID.SettingsFrame);
267 | PageContent.Content = new Frame
268 | {
269 | Content = gamesettings
270 | };
271 | }
272 | private void ClosePages(object sender, RoutedEventArgs e)
273 | {
274 | PageContent.Content = new Frame
275 | {
276 | Content = new Frame()
277 | };
278 | }
279 | private void FeedBack(object sender, RoutedEventArgs e)
280 | {
281 | System.Diagnostics.Process.Start("https://github.com/Big-Cake-jpg/Cake-Launcher/issues/new");
282 | }
283 | private void TileClick_OpenSettings(object sender, RoutedEventArgs e)
284 | {
285 | //Page Pages.Settings.SettingsMainPage = new SMP();
286 | PageContent.Content = new Frame
287 | {
288 | Content = settingsmain
289 | };
290 | }
291 | private void TileClick_CloseLoginUI(object sender, RoutedEventArgs e)
292 | {
293 | LoginContent.Content = new Frame
294 | {
295 | Content = new Frame()
296 | };
297 | }
298 | private void TileClick_OpenDownloadCenter(object sender, RoutedEventArgs e)
299 | {
300 | PageContent.Content = new Frame
301 | {
302 | Content = DownloadCenterMainPage
303 | };
304 | }
305 | //public void WindowChange(WindowsID, winid)
306 | //{
307 | // switch (winid)
308 | // {
309 | // case WindowsID.PageFrame:
310 | // PageContent.Content = PageFrame;
311 | // break
312 | // case WindowsID.SettingsFrame:
313 | // PageContent.Content = SettingsFrame;
314 | // break
315 | // //case WindowsID.DownloadFrame:
316 | // // PageContent.Content = DownloadCenterMainPage;
317 | // // break
318 | // }
319 | //}
320 | }
321 | }
322 |
323 |
--------------------------------------------------------------------------------
/Cake Launcher/Cake Launcher.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Debug
7 | AnyCPU
8 | {01E004E0-94E0-46EA-B88D-67FAF3576D23}
9 | WinExe
10 | Cake_Launcher
11 | Cake Launcher
12 | v4.7.2
13 | 512
14 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
15 | 4
16 | true
17 | true
18 | false
19 |
20 |
21 |
22 | D:\Cake-Launcher-Release\
23 | false
24 | Disk
25 | false
26 | Foreground
27 | 7
28 | Days
29 | false
30 | false
31 | true
32 | https://launcher.cakemc.top/releases/
33 | Cake Launcher
34 | Cake Launcher Development Team
35 | publish.htm
36 | true
37 | 0
38 | 0.0.2.%2a
39 | false
40 | true
41 | true
42 |
43 |
44 | x86
45 | true
46 | full
47 | false
48 | bin\Debug\
49 | DEBUG;TRACE
50 | prompt
51 | 3
52 | true
53 | false
54 |
55 |
56 | AnyCPU
57 | pdbonly
58 | true
59 | bin\Release\
60 | TRACE
61 | prompt
62 | 4
63 |
64 |
65 | 17FF61D202AC58B703D04BA61345E76C384C0892
66 |
67 |
68 | Cake Launcher_TemporaryKey.pfx
69 |
70 |
71 | true
72 |
73 |
74 | false
75 |
76 |
77 | icon.ico
78 |
79 |
80 | false
81 |
82 |
83 |
84 | ..\packages\ControlzEx.5.0.1\lib\net462\ControlzEx.dll
85 |
86 |
87 | ..\packages\Costura.Fody.5.8.0-alpha0098\lib\netstandard1.0\Costura.dll
88 |
89 |
90 | ..\packages\Downloader.2.3.5\lib\net452\Downloader.dll
91 |
92 |
93 | ..\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll
94 |
95 |
96 | ..\packages\MahApps.Metro.2.4.9\lib\net47\MahApps.Metro.dll
97 |
98 |
99 | ..\packages\MahApps.Metro.IconPacks.4.11.0\lib\net47\MahApps.Metro.IconPacks.dll
100 | True
101 |
102 |
103 | ..\packages\MahApps.Metro.IconPacks.BootstrapIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.BootstrapIcons.dll
104 | True
105 |
106 |
107 | ..\packages\MahApps.Metro.IconPacks.BoxIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.BoxIcons.dll
108 | True
109 |
110 |
111 | ..\packages\MahApps.Metro.IconPacks.Codicons.4.11.0\lib\net47\MahApps.Metro.IconPacks.Codicons.dll
112 | True
113 |
114 |
115 | ..\packages\MahApps.Metro.IconPacks.4.11.0\lib\net47\MahApps.Metro.IconPacks.Coolicons.dll
116 | True
117 |
118 |
119 | ..\packages\MahApps.Metro.IconPacks.Zondicons.4.11.0\lib\net47\MahApps.Metro.IconPacks.Core.dll
120 | True
121 |
122 |
123 | ..\packages\MahApps.Metro.IconPacks.Entypo.4.11.0\lib\net47\MahApps.Metro.IconPacks.Entypo.dll
124 | True
125 |
126 |
127 | ..\packages\MahApps.Metro.IconPacks.EvaIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.EvaIcons.dll
128 | True
129 |
130 |
131 | ..\packages\MahApps.Metro.IconPacks.FeatherIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.FeatherIcons.dll
132 | True
133 |
134 |
135 | ..\packages\MahApps.Metro.IconPacks.FileIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.FileIcons.dll
136 | True
137 |
138 |
139 | ..\packages\MahApps.Metro.IconPacks.Fontaudio.4.11.0\lib\net47\MahApps.Metro.IconPacks.Fontaudio.dll
140 | True
141 |
142 |
143 | ..\packages\MahApps.Metro.IconPacks.FontAwesome.4.11.0\lib\net47\MahApps.Metro.IconPacks.FontAwesome.dll
144 | True
145 |
146 |
147 | ..\packages\MahApps.Metro.IconPacks.4.11.0\lib\net47\MahApps.Metro.IconPacks.Fontisto.dll
148 | True
149 |
150 |
151 | ..\packages\MahApps.Metro.IconPacks.ForkAwesome.4.11.0\lib\net47\MahApps.Metro.IconPacks.ForkAwesome.dll
152 | True
153 |
154 |
155 | ..\packages\MahApps.Metro.IconPacks.Ionicons.4.11.0\lib\net47\MahApps.Metro.IconPacks.Ionicons.dll
156 | True
157 |
158 |
159 | ..\packages\MahApps.Metro.IconPacks.JamIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.JamIcons.dll
160 | True
161 |
162 |
163 | ..\packages\MahApps.Metro.IconPacks.Material.4.11.0\lib\net47\MahApps.Metro.IconPacks.Material.dll
164 | True
165 |
166 |
167 | ..\packages\MahApps.Metro.IconPacks.MaterialDesign.4.11.0\lib\net47\MahApps.Metro.IconPacks.MaterialDesign.dll
168 | True
169 |
170 |
171 | ..\packages\MahApps.Metro.IconPacks.MaterialLight.4.11.0\lib\net47\MahApps.Metro.IconPacks.MaterialLight.dll
172 | True
173 |
174 |
175 | ..\packages\MahApps.Metro.IconPacks.Microns.4.11.0\lib\net47\MahApps.Metro.IconPacks.Microns.dll
176 | True
177 |
178 |
179 | ..\packages\MahApps.Metro.IconPacks.Modern.4.11.0\lib\net47\MahApps.Metro.IconPacks.Modern.dll
180 | True
181 |
182 |
183 | ..\packages\MahApps.Metro.IconPacks.Octicons.4.11.0\lib\net47\MahApps.Metro.IconPacks.Octicons.dll
184 | True
185 |
186 |
187 | ..\packages\MahApps.Metro.IconPacks.PicolIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.PicolIcons.dll
188 | True
189 |
190 |
191 | ..\packages\MahApps.Metro.IconPacks.PixelartIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.PixelartIcons.dll
192 | True
193 |
194 |
195 | ..\packages\MahApps.Metro.IconPacks.RadixIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.RadixIcons.dll
196 | True
197 |
198 |
199 | ..\packages\MahApps.Metro.IconPacks.RemixIcon.4.11.0\lib\net47\MahApps.Metro.IconPacks.RemixIcon.dll
200 | True
201 |
202 |
203 | ..\packages\MahApps.Metro.IconPacks.RPGAwesome.4.11.0\lib\net47\MahApps.Metro.IconPacks.RPGAwesome.dll
204 | True
205 |
206 |
207 | ..\packages\MahApps.Metro.IconPacks.SimpleIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.SimpleIcons.dll
208 | True
209 |
210 |
211 | ..\packages\MahApps.Metro.IconPacks.Typicons.4.11.0\lib\net47\MahApps.Metro.IconPacks.Typicons.dll
212 | True
213 |
214 |
215 | ..\packages\MahApps.Metro.IconPacks.Unicons.4.11.0\lib\net47\MahApps.Metro.IconPacks.Unicons.dll
216 | True
217 |
218 |
219 | ..\packages\MahApps.Metro.IconPacks.VaadinIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.VaadinIcons.dll
220 | True
221 |
222 |
223 | ..\packages\MahApps.Metro.IconPacks.WeatherIcons.4.11.0\lib\net47\MahApps.Metro.IconPacks.WeatherIcons.dll
224 | True
225 |
226 |
227 | ..\packages\MahApps.Metro.IconPacks.Zondicons.4.11.0\lib\net47\MahApps.Metro.IconPacks.Zondicons.dll
228 | True
229 |
230 |
231 | ..\packages\Microsoft.Win32.Primitives.4.3.0\lib\net46\Microsoft.Win32.Primitives.dll
232 | True
233 | True
234 |
235 |
236 | ..\packages\Microsoft.Xaml.Behaviors.Wpf.1.1.39\lib\net45\Microsoft.Xaml.Behaviors.dll
237 |
238 |
239 | .\microsoft_launcher.dll
240 |
241 |
242 | ..\packages\ModuleLauncher.Re.2.6.0\lib\net472\ModuleLauncher.Re.dll
243 |
244 |
245 | ..\packages\Newtonsoft.Json.13.0.2-beta1\lib\net45\Newtonsoft.Json.dll
246 |
247 |
248 | ..\packages\SquareMinecraftLauncher.Core.3.9.1\lib\net452\SquareMinecraftLauncherCore.dll
249 |
250 |
251 |
252 | ..\packages\System.AppContext.4.3.0\lib\net463\System.AppContext.dll
253 | True
254 | True
255 |
256 |
257 | ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll
258 | True
259 |
260 |
261 |
262 |
263 |
264 | ..\packages\System.Console.4.3.1\lib\net46\System.Console.dll
265 | True
266 | True
267 |
268 |
269 |
270 | ..\packages\System.Diagnostics.DiagnosticSource.7.0.0-preview.4.22229.4\lib\net462\System.Diagnostics.DiagnosticSource.dll
271 |
272 |
273 | ..\packages\System.Diagnostics.Tracing.4.3.0\lib\net462\System.Diagnostics.Tracing.dll
274 | True
275 | True
276 |
277 |
278 | ..\packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll
279 | True
280 | True
281 |
282 |
283 | ..\packages\System.IO.4.3.0\lib\net462\System.IO.dll
284 | True
285 | True
286 |
287 |
288 | ..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll
289 | True
290 | True
291 |
292 |
293 |
294 | ..\packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll
295 | True
296 | True
297 |
298 |
299 | ..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll
300 | True
301 | True
302 |
303 |
304 | ..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll
305 | True
306 | True
307 |
308 |
309 | ..\packages\System.Linq.4.3.0\lib\net463\System.Linq.dll
310 | True
311 | True
312 |
313 |
314 | ..\packages\System.Linq.Expressions.4.3.0\lib\net463\System.Linq.Expressions.dll
315 | True
316 | True
317 |
318 |
319 | ..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll
320 |
321 |
322 | ..\packages\System.Net.Http.4.3.4\lib\net46\System.Net.Http.dll
323 | True
324 | True
325 |
326 |
327 | ..\packages\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll
328 | True
329 | True
330 |
331 |
332 |
333 | ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll
334 | True
335 |
336 |
337 | ..\packages\System.Reflection.4.3.0\lib\net462\System.Reflection.dll
338 | True
339 | True
340 |
341 |
342 | ..\packages\System.Runtime.4.3.1\lib\net462\System.Runtime.dll
343 | True
344 | True
345 |
346 |
347 | ..\packages\System.Runtime.CompilerServices.Unsafe.7.0.0-preview.2.22152.2\lib\net462\System.Runtime.CompilerServices.Unsafe.dll
348 |
349 |
350 | ..\packages\System.Runtime.Extensions.4.3.1\lib\net462\System.Runtime.Extensions.dll
351 | True
352 | True
353 |
354 |
355 | ..\packages\System.Runtime.InteropServices.4.3.0\lib\net463\System.Runtime.InteropServices.dll
356 | True
357 | True
358 |
359 |
360 | ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll
361 | True
362 | True
363 |
364 |
365 | ..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net463\System.Security.Cryptography.Algorithms.dll
366 | True
367 | True
368 |
369 |
370 | ..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll
371 | True
372 | True
373 |
374 |
375 | ..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll
376 | True
377 | True
378 |
379 |
380 | ..\packages\System.Security.Cryptography.X509Certificates.4.3.2\lib\net461\System.Security.Cryptography.X509Certificates.dll
381 | True
382 | True
383 |
384 |
385 | ..\packages\System.Text.RegularExpressions.4.3.1\lib\net463\System.Text.RegularExpressions.dll
386 | True
387 | True
388 |
389 |
390 |
391 |
392 |
393 |
394 | C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\Microsoft.CSharp.dll
395 |
396 |
397 |
398 |
399 |
400 | 4.0
401 |
402 |
403 | ..\packages\System.Xml.ReaderWriter.4.3.1\lib\net46\System.Xml.ReaderWriter.dll
404 | True
405 | True
406 |
407 |
408 |
409 |
410 |
411 |
412 |
413 | MSBuild:Compile
414 | Designer
415 |
416 |
417 | AuthlibInjector.xaml
418 |
419 |
420 | AuthlibInjectorAvatarChoose.xaml
421 |
422 |
423 | Microsoft.xaml
424 |
425 |
426 | Mojang.xaml
427 |
428 |
429 | Offline.xaml
430 |
431 |
432 | Designer
433 | MSBuild:Compile
434 |
435 |
436 | Designer
437 | MSBuild:Compile
438 |
439 |
440 | MSBuild:Compile
441 | Designer
442 |
443 |
444 | Designer
445 | MSBuild:Compile
446 |
447 |
448 | Designer
449 | MSBuild:Compile
450 |
451 |
452 | MSBuild:Compile
453 | Designer
454 |
455 |
456 | App.xaml
457 | Code
458 |
459 |
460 | MainWindow.xaml
461 | Code
462 |
463 |
464 | Designer
465 | MSBuild:Compile
466 |
467 |
468 | Designer
469 | MSBuild:Compile
470 |
471 |
472 | Designer
473 | MSBuild:Compile
474 |
475 |
476 | Designer
477 | MSBuild:Compile
478 |
479 |
480 | Designer
481 | MSBuild:Compile
482 |
483 |
484 | Designer
485 | MSBuild:Compile
486 |
487 |
488 |
489 |
490 | DownloadCenterMainPage.xaml
491 |
492 |
493 | ResourcesView.xaml
494 |
495 |
496 | GameSettings.xaml
497 |
498 |
499 | GameProfile.xaml
500 |
501 |
502 | SettingsList.xaml
503 |
504 |
505 | SettingsMainPage.xaml
506 |
507 |
508 | Code
509 |
510 |
511 | True
512 | True
513 | Resources.resx
514 |
515 |
516 | True
517 | Settings.settings
518 | True
519 |
520 |
521 | ResXFileCodeGenerator
522 | Resources.Designer.cs
523 |
524 |
525 |
526 | SettingsSingleFileGenerator
527 | Settings.Designer.cs
528 |
529 |
530 |
531 |
532 |
533 |
534 |
535 | False
536 | Microsoft .NET Framework 4.7.2 %28x86 和 x64%29
537 | true
538 |
539 |
540 | False
541 | .NET Framework 3.5 SP1
542 | false
543 |
544 |
545 |
546 |
547 |
548 |
549 |
550 |
551 |
552 |
553 |
554 |
555 |
556 |
557 |
558 |
559 |
560 |
561 |
562 |
563 |
564 |
565 |
566 |
567 |
568 |
569 |
570 |
571 |
572 |
573 |
574 |
575 |
576 |
577 |
578 |
579 |
580 |
581 |
582 |
583 |
584 |
585 |
586 |
587 |
588 |
589 |
590 |
591 |
592 |
593 |
594 |
595 |
596 |
597 |
598 |
599 |
600 |
601 |
602 |
603 | 这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。
604 |
605 |
606 |
607 |
608 |
609 |
610 |
611 |
612 |
613 |
--------------------------------------------------------------------------------