mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Fix[downloader]: add description for not being able to unpack JRE 17
This commit is contained in:
parent
d5f74af94a
commit
0341457539
@ -93,7 +93,7 @@ public class AsyncMinecraftDownloader {
|
|||||||
// THIS one function need the activity in the case of an error
|
// THIS one function need the activity in the case of an error
|
||||||
if(activity != null && !JRE17Util.installNewJreIfNeeded(activity, verInfo)){
|
if(activity != null && !JRE17Util.installNewJreIfNeeded(activity, verInfo)){
|
||||||
ProgressLayout.clearProgress(ProgressLayout.DOWNLOAD_MINECRAFT);
|
ProgressLayout.clearProgress(ProgressLayout.DOWNLOAD_MINECRAFT);
|
||||||
throw new DownloaderException();
|
throw new DownloaderException(new Exception(activity.getString(R.string.exception_failed_to_unpack_jre17)));
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -364,4 +364,5 @@
|
|||||||
<string name="notification_permission_toast">You can always change your mind later by going into Settings</string>
|
<string name="notification_permission_toast">You can always change your mind later by going into Settings</string>
|
||||||
<string name="preference_ask_for_notification_title">Allow notifications</string>
|
<string name="preference_ask_for_notification_title">Allow notifications</string>
|
||||||
<string name="preference_ask_for_notification_description">Click to re-request the notification permission, required for game/modpack background downloads to work properly.</string>
|
<string name="preference_ask_for_notification_description">Click to re-request the notification permission, required for game/modpack background downloads to work properly.</string>
|
||||||
|
<string name="exception_failed_to_unpack_jre17">Failed to install JRE 17</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user