diff --git a/app/src/main/assets/apk/StardewModdingAPI.dll b/app/src/main/assets/apk/StardewModdingAPI.dll
index 75c5ebd..6cfd946 100644
Binary files a/app/src/main/assets/apk/StardewModdingAPI.dll and b/app/src/main/assets/apk/StardewModdingAPI.dll differ
diff --git a/app/src/main/assets/downloadable_content_list.json b/app/src/main/assets/downloadable_content_list.json
index f775a2a..c6e534c 100644
--- a/app/src/main/assets/downloadable_content_list.json
+++ b/app/src/main/assets/downloadable_content_list.json
@@ -1,5 +1,5 @@
{
- "version": 3,
+ "version": 4,
"contents": [
{
"type": "COMPAT",
@@ -11,10 +11,10 @@
},
{
"type": "LOCALE",
- "name": "中文汉化v2.5",
+ "name": "中文汉化v2.5.1",
"description": "简体中文语言包,感谢Wabi-Sabi提供",
- "url": "http://zaneyork.cn/download/locale/locale_pack_zh_2.5.zip",
- "hash": "64eb016f22ecb7ba54318e55e11ddeb9fc3d634187d90fad1df5501113881382"
+ "url": "http://zaneyork.cn/download/locale/locale_pack_zh_2.5.1.zip",
+ "hash": "4924ba7022c5604e7bc46ee2aad27d4f285c299a3939f3d2817afc10e2e73d77"
}
]
}
\ No newline at end of file
diff --git a/app/src/main/assets/mods/virtual-keyboard.zip b/app/src/main/assets/mods/virtual-keyboard.zip
index b6108f1..d6524f1 100644
Binary files a/app/src/main/assets/mods/virtual-keyboard.zip and b/app/src/main/assets/mods/virtual-keyboard.zip differ
diff --git a/app/src/main/assets/smapi/i18n/hu.json b/app/src/main/assets/smapi/i18n/hu.json
new file mode 100644
index 0000000..aa0c754
--- /dev/null
+++ b/app/src/main/assets/smapi/i18n/hu.json
@@ -0,0 +1,3 @@
+{
+ "warn.invalid-content-removed": "Érvénytelen elemek kerültek eltávolításra, hogy a játék ne omoljon össze (további információk a SMAPI konzolon)."
+}
diff --git a/app/src/main/assets/smapi/i18n/it.json b/app/src/main/assets/smapi/i18n/it.json
new file mode 100644
index 0000000..4349301
--- /dev/null
+++ b/app/src/main/assets/smapi/i18n/it.json
@@ -0,0 +1,3 @@
+{
+ "warn.invalid-content-removed": "Contenuto non valido rimosso per prevenire un crash (Guarda la console di SMAPI per maggiori informazioni)."
+}
diff --git a/app/src/main/assets/smapi_files_manifest.json b/app/src/main/assets/smapi_files_manifest.json
index 2af5cd5..10fb2db 100644
--- a/app/src/main/assets/smapi_files_manifest.json
+++ b/app/src/main/assets/smapi_files_manifest.json
@@ -144,6 +144,16 @@
"assetPath": "smapi/i18n/fr.json",
"origin": 0
},
+ {
+ "targetPath": "smapi-internal/i18n/hu.json",
+ "assetPath": "smapi/i18n/hu.json",
+ "origin": 0
+ },
+ {
+ "targetPath": "smapi-internal/i18n/it.json",
+ "assetPath": "smapi/i18n/it.json",
+ "origin": 0
+ },
{
"targetPath": "smapi-internal/i18n/ja.json",
"assetPath": "smapi/i18n/ja.json",
diff --git a/app/src/main/java/com/zane/smapiinstaller/MainActivity.java b/app/src/main/java/com/zane/smapiinstaller/MainActivity.java
index 91c005e..8d4e31b 100644
--- a/app/src/main/java/com/zane/smapiinstaller/MainActivity.java
+++ b/app/src/main/java/com/zane/smapiinstaller/MainActivity.java
@@ -77,8 +77,8 @@ public class MainActivity extends AppCompatActivity {
// Passing each menu ID as a set of Ids because each
// menu should be considered as top level destinations.
mAppBarConfiguration = new AppBarConfiguration.Builder(
- R.id.nav_install, R.id.nav_config, R.id.nav_help)
- .setDrawerLayout(drawer)
+ R.id.nav_install, R.id.nav_config, R.id.nav_help, R.id.nav_download, R.id.nav_about)
+ .setOpenableLayout(drawer)
.build();
final NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment);
NavigationUI.setupActionBarWithNavController(this, navController, mAppBarConfiguration);
diff --git a/app/src/main/java/com/zane/smapiinstaller/ui/about/AboutFragment.java b/app/src/main/java/com/zane/smapiinstaller/ui/about/AboutFragment.java
index 0cf88dc..f263458 100644
--- a/app/src/main/java/com/zane/smapiinstaller/ui/about/AboutFragment.java
+++ b/app/src/main/java/com/zane/smapiinstaller/ui/about/AboutFragment.java
@@ -1,10 +1,12 @@
package com.zane.smapiinstaller.ui.about;
+import android.content.ActivityNotFoundException;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.didikee.donate.AlipayDonate;
+import android.net.Uri;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
@@ -35,6 +37,26 @@ public class AboutFragment extends Fragment {
@OnClick(R.id.button_release) void release() {
CommonLogic.openUrl(this.getContext(), "https://github.com/ZaneYork/SMAPI-Android-Installer/releases");
}
+ @OnClick(R.id.button_gplay) void gplay() {
+ try
+ {
+ this.OpenPlayStore("market://details?id=" + this.getActivity().getPackageName());
+ }
+ catch (ActivityNotFoundException ex)
+ {
+ this.OpenPlayStore("https://play.google.com/store/apps/details?id=" + this.getActivity().getPackageName());
+ }
+
+ }
+ private void OpenPlayStore(String url)
+ {
+ Intent intent = new Intent("android.intent.action.VIEW");
+ intent.setData(Uri.parse(url));
+ intent.setPackage("com.android.vending");
+ intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ this.getActivity().startActivity(intent);
+ }
+
@OnClick({R.id.button_qq_group_1, R.id.button_qq_group_2}) void joinQQ(Button which) {
String baseUrl = "mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26k%3D";
if(which.getId() == R.id.button_qq_group_1) {
diff --git a/app/src/main/res/layout/fragment_about.xml b/app/src/main/res/layout/fragment_about.xml
index fa94441..1441e73 100644
--- a/app/src/main/res/layout/fragment_about.xml
+++ b/app/src/main/res/layout/fragment_about.xml
@@ -66,7 +66,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
+
+
+
+
+
diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml
index ed31801..a5bba38 100644
--- a/app/src/main/res/values-zh-rHK/strings.xml
+++ b/app/src/main/res/values-zh-rHK/strings.xml
@@ -54,4 +54,5 @@
QQ群①: 860453392
捐贈
QQ群②: 1078428449
+ 谷歌商店详情
diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml
index ed31801..a5bba38 100644
--- a/app/src/main/res/values-zh-rTW/strings.xml
+++ b/app/src/main/res/values-zh-rTW/strings.xml
@@ -54,4 +54,5 @@
QQ群①: 860453392
捐贈
QQ群②: 1078428449
+ 谷歌商店详情
diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml
index f5f5fe7..21cecf1 100644
--- a/app/src/main/res/values-zh/strings.xml
+++ b/app/src/main/res/values-zh/strings.xml
@@ -54,4 +54,5 @@
捐赠
QQ群②: 1078428449
%1$s依赖%2$s %3$s版本,请先更新它
+ 谷歌商店详情
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 73d341e..2b8bb35 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -58,4 +58,5 @@
icon
Donation
红包码已复制\n支付宝首页搜索“9188262” 立即领红包
+ View in Play Store