Skip to content

Commit 0326cfa

Browse files
committed
Init: first commit
0 parents  commit 0326cfa

30 files changed

+10405
-0
lines changed

Diff for: .eslintrc.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true
5+
},
6+
"extends": [
7+
"standard"
8+
],
9+
"globals": {
10+
"Atomics": "readonly",
11+
"SharedArrayBuffer": "readonly",
12+
"$": "readonly"
13+
},
14+
"parser": "@typescript-eslint/parser",
15+
"parserOptions": {
16+
"ecmaVersion": 2018,
17+
"sourceType": "module"
18+
},
19+
"plugins": [
20+
"@typescript-eslint"
21+
],
22+
"rules": {
23+
"no-void": "off"
24+
}
25+
}

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
.cache
3+
dist

Diff for: LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2020 Shirasawa
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

Diff for: README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# PureLauncherOfficialWebsite
2+
3+
## Build
4+
5+
```bash
6+
npm install
7+
8+
npm run build
9+
```
10+
11+
## Author
12+
13+
Shirasawa
14+
15+
## License
16+
17+
[MIT](./LICENSE)

Diff for: assets/bg-snow.png

102 KB
Loading

Diff for: assets/bg-wool-dark.png

1.17 KB
Loading

Diff for: assets/bg-wool-white.png

8.42 KB
Loading

Diff for: assets/book-body.png

14.8 KB
Loading

Diff for: assets/book-footer.png

5.05 KB
Loading

Diff for: assets/book-header.png

4.01 KB
Loading

Diff for: assets/language.png

7.82 KB
Loading

Diff for: assets/logo.png

38.5 KB
Loading

Diff for: assets/screenshots/accounts.png

81.8 KB
Loading

Diff for: assets/screenshots/home.png

178 KB
Loading

Diff for: assets/screenshots/resources.png

95 KB
Loading

Diff for: assets/trans-bottom-darkwool.png

1.46 KB
Loading

Diff for: assets/trans-top-darkwool.png

1.46 KB
Loading

Diff for: index.html

+136
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="description" content="PureLauncher 我的世界启动器">
6+
<meta name="keywords" content="PureLauncher,purelauncher,Launcher,启动器,我的世界启动器,我的世界,Minecraft,MC">
7+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
9+
<meta name="renderer" content="webkit">
10+
<meta http-equiv="Cache-Control" content="no-siteapp" />
11+
<meta name="theme-color" content="#181818">
12+
<title data-t="indexTitle">PureLauncher | Home</title>
13+
<!-- <link rel="icon" type="image/png" href="favicon.png"> -->
14+
<meta name="mobile-web-app-capable" content="yes">
15+
<!-- <link rel="icon" sizes="192x192" href="favicon.png"> -->
16+
<meta name="apple-mobile-web-app-capable" content="yes">
17+
<meta name="apple-mobile-web-app-status-bar-style" content="#181818">
18+
<meta name="apple-mobile-web-app-title" content="Unknown Domain">
19+
<!-- <link rel="apple-touch-icon-precomposed" href="favicon.png"> -->
20+
<!-- <meta name="msapplication-TileImage" content="favicon.png"> -->
21+
<meta name="msapplication-TileColor" content="#181818">
22+
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/blueprint.min.css" />
23+
<link type="text/css" rel="styleSheet" href="src/main.css" />
24+
<link type="text/css" rel="styleSheet" href="src/minecraft.less" />
25+
<link type="text/css" rel="styleSheet" href="src/index.less" />
26+
</head>
27+
<body>
28+
<main>
29+
<header>
30+
<img class="logo" src="assets/logo.png">
31+
</header>
32+
<section id="first" bp="grid vertical-center">
33+
<div class="container" bp="12 offset-2 4@md offset-2@md">
34+
<h1>PureLauncher</h1>
35+
<h3 data-t="headText"></h3>
36+
<div class="buttons">
37+
<a class="btn btn-primary" data-t="download"></a><a class="btn btn-secondary" data-t="allVersions"></a>
38+
</div>
39+
</div>
40+
<div bp="6@md 10 offset-2" class="img"><img class="screenshot" src="assets/screenshots/home.png"></div>
41+
</section>
42+
<section id="second">
43+
<section bp="grid vertical-center">
44+
<div bp="10 offset-2 6@md offset-2@md" class="img"><img class="screenshot" src="assets/screenshots/resources.png"></div>
45+
<div class="container right" bp="4@md 12 offset-2">
46+
<h1 data-t="resourcesSystem"></h1>
47+
<ul>
48+
<li data-t="resourcesSystem1"></li>
49+
<li data-t="resourcesSystem2"></li>
50+
<li data-t="resourcesSystem3"></li>
51+
<li data-t="resourcesSystem4"></li>
52+
<li data-t="resourcesSystem5"></li>
53+
</ul>
54+
<a class="btn btn-primary" data-t="openVersionsList" href="./versions.html"></a>
55+
</div>
56+
</section>
57+
<section bp="grid vertical-center">
58+
<div bp="last@md 6@md 10 offset-2" class="img"><img class="screenshot" src="assets/screenshots/accounts.png"></div>
59+
<div class="container" bp="first@md 12 offset-2 4@md offset-2@md">
60+
<h1 data-t="accountSystem"></h1>
61+
<ul>
62+
<li data-t="accountSystem1"></li>
63+
<li data-t="accountSystem2"></li>
64+
<li data-t="accountSystem3"></li>
65+
</ul>
66+
</div>
67+
</section>
68+
<section bp="grid vertical-center">
69+
<div bp="10 offset-2 6@md offset-2@md" class="img"><img class="screenshot" src="assets/screenshots/resources.png"></div>
70+
<div class="container right" bp="4@md 12 offset-2">
71+
<h1 data-t="pluginSystem"></h1>
72+
<ul>
73+
<li data-t="pluginSystem1"></li>
74+
<li data-t="pluginSystem2"></li>
75+
<li data-t="pluginSystem3"></li>
76+
<li data-t="pluginSystem4"></li>
77+
<li data-t="pluginSystem5"></li>
78+
</ul>
79+
<a class="btn btn-primary" data-t="openPluginsList"></a>
80+
</div>
81+
</section>
82+
<section class="and-more">
83+
<div>
84+
<h1 data-t="advantages"></h1>
85+
<ul>
86+
<li data-t="advantages1"></li>
87+
<li data-t="advantages2"></li>
88+
<li data-t="advantages3"></li>
89+
<li data-t="advantages4"></li>
90+
<li data-t="advantages5"></li>
91+
<li data-t="advantages6"></li>
92+
<li data-t="advantages7"></li>
93+
<li data-t="advantages8"></li>
94+
</ul>
95+
</div>
96+
</section>
97+
</section>
98+
<section id="third" bp="grid vertical-center">
99+
<div bp="10 offset-2">
100+
<h1 data-t="openSource"></h1>
101+
<img alt="Version" src="https://img.shields.io/github/package-json/v/Apisium/PureLauncher">
102+
<a href="https://github.com/Apisium/PureLauncher/blob/master/LICENSE" target="_blank"><img alt="License" src="https://img.shields.io/github/license/Apisium/PureLauncher"></a>
103+
<a href="https://codebeat.co/projects/github-com-apisium-purelauncher-master" target="_blank"><img alt="CodeBeat" src="https://codebeat.co/badges/2afd1913-119b-4b47-acb8-dbac54259a4e"></a>
104+
<a href="https://standardjs.com" target="_blank"><img alt="JavaScript Style Guide" src="https://img.shields.io/badge/code_style-standard-brightgreen.svg"></a>
105+
<p data-t="openSourceLink"></p>
106+
<a class="btn btn-primary" href="https://github.com/Apisium/PureLauncher" target="_blank">Github</a>
107+
<p data-t="hopeHelp"></p>
108+
</div>
109+
</section>
110+
<div class="dark-wool"></div>
111+
<section class="and-more" id="fourth">
112+
<div>
113+
<h1 data-t="contact"></h1>
114+
<ul>
115+
<li><a role="link" href="https://github.com/Apisium/PureLauncher/issues">Github Issues</a></li>
116+
<li><span data-t="qqGroup"></span>: <a role="link" href="https://jq.qq.com/?_wv=1027&k=59nPcrl">7923302</a></li>
117+
<li><span data-t="telegramGroup"></span>: <a role="link" href="https://t.me/PureLauncher">@PureLauncher</a></li>
118+
<li><span>MCBBS</span>: <a role="link" href="https://t.me/PureLauncher" data-t="clickToEnter"></a></li>
119+
</ul>
120+
</div>
121+
</section>
122+
<footer>
123+
<div>
124+
<img src="./assets/language.png">
125+
<span>
126+
<a href="javascript:void setLanguague('zh-cn')">简体中文</a>
127+
<a href="javascript:void setLanguague('en-us')">English</a>
128+
</span>
129+
</div>
130+
<span class="copy">Copyright &copy; 2020 Apisium All rights reserved.</span>
131+
</footer>
132+
</main>
133+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
134+
<script src="src/i18n.ts"></script>
135+
</body>
136+
</html>

Diff for: langs/en-us.json

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"$name$": "English",
3+
4+
"indexTitle": "PureLauncher | Home",
5+
"headText": "An awesome Minecraft launcher.",
6+
"download": "DOWNLOAD",
7+
"allVersions": "ALL VERSIONS",
8+
9+
"resourcesSystem": "Convenient Resource System",
10+
"resourcesSystem1": "One click installation of versiosn, mods, resource-packs and saves.",
11+
"resourcesSystem2": "One click installation of vanilla games, Fabric, Forge and Optifine.",
12+
"resourcesSystem3": "One click add Minecraft third-party server.",
13+
"resourcesSystem4": "Update the above resources automatically.",
14+
"resourcesSystem5": "Easily export and manage the above resources.",
15+
"openVersionsList": "View resources list",
16+
17+
"accountSystem": "Advanced Account System",
18+
"accountSystem1": "Support online login and offline login.",
19+
"accountSystem2": "Support for skin changing in the launcher.",
20+
"accountSystem3": "Support Authlib-Injector (plugin).",
21+
22+
"pluginSystem": "Powerful plug-in system",
23+
"pluginSystem1": "One click installation and automatic update plugins.",
24+
"pluginSystem2": "Easy to customize launcher user interface and add features.",
25+
"pluginSystem3": "Easy to modify launch command parameters and add authenticator.",
26+
"pluginSystem4": "Can intercept and modify the socket packet of games.",
27+
"pluginSystem5": "Customizable resolving and installation resources.",
28+
"pluginSystem6": "Create exclusive functions for the third-party server.",
29+
"openPluginsList": "View official plugin list",
30+
31+
"advantages": "And more...",
32+
"advantages1": "Beautiful user interface and exquisite dynamic effect.",
33+
"advantages2": "Easy to operate and user-friendly.",
34+
"advantages3": "Multilingual support.",
35+
"advantages4": "Third-party minecraft servers can have their own pages.",
36+
"advantages5": "Automatically install Java and select the best memory.",
37+
"advantages6": "Optional version isolation.",
38+
"advantages7": "Proxies can be used.",
39+
"advantages8": "Multiple download source support (such as BMCLAPI and MCBBSAPI)",
40+
41+
"openSource": "Open source, just to get better",
42+
"openSourceLink": "PureLauncher uses MIT license to\nhost the core, official website, official plugins and build process in GitHub completely\nto obtain the source code, please click the button below:",
43+
"hopeHelp": "we also welcome you to submit feedback and pull requests.\nYour help will make PureLauncher mature!",
44+
45+
"contact": "Get help?",
46+
"qqGroup": "Tencent QQ Group",
47+
"telegramGroup": "Telegram Group",
48+
"clickToEnter": "Click to enter",
49+
50+
51+
"versionsTitle": "PureLauncher | Versions Download"
52+
}

Diff for: langs/zh-cn.json

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"$name$": "简体中文",
3+
4+
"indexTitle": "PureLauncher | 主页",
5+
"download": "立即下载",
6+
"allVersions": "查看所有版本",
7+
"headText": "一款简约而不简单的 Minecraft 启动器.",
8+
9+
"resourcesSystem": "便捷的资源系统",
10+
"resourcesSystem1": "一键安装整合包、模组、资源包和地图",
11+
"resourcesSystem2": "一键安装原版游戏、Fabric、Forge 和 Optifine",
12+
"resourcesSystem3": "一键添加第三方 Minecraft 服务器",
13+
"resourcesSystem4": "自动更新以上资源",
14+
"resourcesSystem5": "轻松导出和管理以上资源",
15+
"openVersionsList": "查看资源列表",
16+
17+
"accountSystem": "高级的账户系统",
18+
"accountSystem1": "支持正版登陆和离线登陆",
19+
"accountSystem2": "支持在启动器内更换皮肤",
20+
"accountSystem3": "支持 Authlib-Injector (通过插件)",
21+
22+
"pluginSystem": "强大的插件系统",
23+
"pluginSystem1": "一键安装和自动更新插件",
24+
"pluginSystem2": "可轻松地自定义启动器界面和添加功能",
25+
"pluginSystem3": "可容易地修改启动参数和添加登陆模式",
26+
"pluginSystem4": "可对游戏封包进行拦截和修改",
27+
"pluginSystem5": "可自定义解析和安装资源",
28+
"pluginSystem6": "可为服务器打造专属功能",
29+
"openPluginsList": "查看官方插件列表",
30+
31+
"advantages": "还有更多...",
32+
"advantages1": "漂亮的界面和精美的动效",
33+
"advantages2": "第三方 Minecraft 服务器可拥有专属的页面",
34+
"advantages3": "操作简单, 专为玩家设计",
35+
"advantages4": "支持多语言",
36+
"advantages5": "自动安装 Java 和选择最适内存",
37+
"advantages6": "可选择是否开启版本隔离",
38+
"advantages7": "可使用网络代理",
39+
"advantages8": "多下载源支持 (如 BMCLAPI 和 MCBBSAPI)",
40+
41+
"openSource": "开源, 只是为了变得更好",
42+
"openSourceLink": "PureLauncher 使用自由的 MIT 协议\n将启动器本体、官网、官方插件和构建流程完整托管于 Github\n如需获取源码请点击下方按钮进入:",
43+
"hopeHelp": "同时我们也欢迎您提交反馈和代码\n您的帮助将会让 PureLauncher 走向成熟!",
44+
45+
"contact": "获取帮助?",
46+
"qqGroup": "QQ 群",
47+
"telegramGroup": "Telegram 群组",
48+
"clickToEnter": "点击进入",
49+
50+
51+
"versionsTitle": "PureLauncher | 版本下载"
52+
}

0 commit comments

Comments
 (0)