diff --git a/FCL/src/main/java/com/tungsten/fcl/ui/setting/AboutPage.java b/FCL/src/main/java/com/tungsten/fcl/ui/setting/AboutPage.java index 63c10d8e..458ecafd 100644 --- a/FCL/src/main/java/com/tungsten/fcl/ui/setting/AboutPage.java +++ b/FCL/src/main/java/com/tungsten/fcl/ui/setting/AboutPage.java @@ -16,6 +16,7 @@ public class AboutPage extends FCLCommonPage implements View.OnClickListener { private FCLLinearLayout launcher; private FCLLinearLayout developer; private FCLLinearLayout sponsor; + private FCLLinearLayout source; public AboutPage(Context context, int id, FCLUILayout parent, int resId) { super(context, id, parent, resId); @@ -27,9 +28,11 @@ public class AboutPage extends FCLCommonPage implements View.OnClickListener { launcher = findViewById(R.id.launcher); developer = findViewById(R.id.developer); sponsor = findViewById(R.id.sponsor); + source = findViewById(R.id.source); launcher.setOnClickListener(this); developer.setOnClickListener(this); sponsor.setOnClickListener(this); + source.setOnClickListener(this); } @Override @@ -42,7 +45,7 @@ public class AboutPage extends FCLCommonPage implements View.OnClickListener { Uri uri = null; if (v == launcher) { - uri = Uri.parse("https://github.com/FCL-Team/FoldCraftLauncher"); + uri = Uri.parse("https://fcl-team.github.io/"); } if (v == developer) { uri = Uri.parse("https://github.com/FCL-Team"); @@ -50,6 +53,9 @@ public class AboutPage extends FCLCommonPage implements View.OnClickListener { if (v == sponsor) { uri = Uri.parse("https://afdian.net/@tungs"); } + if (v == source) { + uri = Uri.parse("https://github.com/FCL-Team/FoldCraftLauncher"); + } if (uri != null) { Intent intent = new Intent(Intent.ACTION_VIEW, uri); diff --git a/FCL/src/main/res/layout/page_about.xml b/FCL/src/main/res/layout/page_about.xml index 308aa43a..c667380a 100644 --- a/FCL/src/main/res/layout/page_about.xml +++ b/FCL/src/main/res/layout/page_about.xml @@ -112,6 +112,38 @@ + + + + + + + + + + 关于 赞助 + 开源 Fold Craft Launcher 是一个 Android Minecraft 启动器,让用户能够在 Android 设备上启动 Minecraft: Java Edition。\n\nFold Craft Launcher 由 FCL-Team 开发。\n\nFold Craft Launcher 的主要功能是基于 HMCLCore 修改而成的。\n\n该应用借鉴和引用了一些 PojavLauncher 和 Boat 的源码,所以如果你要传播分发该软件,请遵循 GPL-v3 协议。 添加认证服务器 diff --git a/FCL/src/main/res/values/strings.xml b/FCL/src/main/res/values/strings.xml index 316fb33a..1da8c4bb 100644 --- a/FCL/src/main/res/values/strings.xml +++ b/FCL/src/main/res/values/strings.xml @@ -27,6 +27,7 @@ Fold Craft Launcher FCL-Team Sponsor + Open Source Fold Craft Launcher is an Android Minecraft Launcher, allows user to launch Minecraft: Java Edition on Android device.\n\nFold Craft Launcher is developed by FCL-Team.\n\nFold Craft Launcher\'s most features are modified based on HMCLCore.\n\nThe app borrows and quotes some codes of PojavLauncher and Boat, so if you are going to distribute this app, please follow GPL-v3 License. Add Authentication Server