Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dd2f98c809 | |||
| 08ee73b2eb | |||
| 3b1f235e81 | |||
| 87f9c17352 | |||
| 79776ddb45 | |||
| e398ead7ba | |||
| f6938e8b8a | |||
| a2eb9d37f6 | |||
| a99eb85fdd | |||
| bd647edd48 | |||
| 77374d8b50 | |||
| a6be76cc3a | |||
| 8c56999da0 |
BIN
Binary file not shown.
@@ -15,6 +15,8 @@
|
||||
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"
|
||||
tools:ignore="RequestInstallPackagesPolicy" />
|
||||
<uses-permission android:name="android.permission.READ_LOGS"/>
|
||||
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
|
||||
tools:ignore="ScopedStorage" />
|
||||
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
||||
|
||||
<application
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"leader": 0,
|
||||
"leader": 2,
|
||||
"lineups": {
|
||||
"0": 1308,
|
||||
"1": 1406,
|
||||
"2": 1218,
|
||||
"3": 1304
|
||||
"0": 1409,
|
||||
"1": 1407,
|
||||
"2": 1406,
|
||||
"3": 1403
|
||||
},
|
||||
"position": {
|
||||
"x": -4030,
|
||||
@@ -21,12 +21,12 @@
|
||||
1003
|
||||
],
|
||||
"char_path": {
|
||||
"main": 8010,
|
||||
"main": 8008,
|
||||
"march_7": 1224
|
||||
},
|
||||
"char_enhanced": {
|
||||
"1004": 1,
|
||||
"1005": 1,
|
||||
"1005": 0,
|
||||
"1006": 1,
|
||||
"1102": 1,
|
||||
"1205": 1,
|
||||
@@ -39,17 +39,186 @@
|
||||
"challenge": {
|
||||
"challenge_id": 0,
|
||||
"skip_half": 0,
|
||||
"random_seed": 0,
|
||||
"blessings": [],
|
||||
"is_in_challenge": false,
|
||||
"current_stage_id": 30122121,
|
||||
"current_stage_id": 0,
|
||||
"path_resonance_id": 0,
|
||||
"maze_buff": 0,
|
||||
"first_lineup": [],
|
||||
"second_lineup": []
|
||||
},
|
||||
"challenge_tierce": {
|
||||
"challenge_id": 0,
|
||||
"current_stage_id": 0,
|
||||
"maze_buff": 0,
|
||||
"path_resonance_id": 0,
|
||||
"is_in_challenge": false,
|
||||
"is_single_stage": false,
|
||||
"challenge_tierce_data": {
|
||||
"20245": {
|
||||
"stage_1": {
|
||||
"blessing": 3031361,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 1,
|
||||
"DeadCount": 0,
|
||||
"score": 40000,
|
||||
"lineup": [
|
||||
1407,
|
||||
1413,
|
||||
1415,
|
||||
1409
|
||||
]
|
||||
},
|
||||
"stage_2": {
|
||||
"blessing": 3031361,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 1,
|
||||
"DeadCount": 0,
|
||||
"score": 40000,
|
||||
"lineup": [
|
||||
1310,
|
||||
1225,
|
||||
1321,
|
||||
1222
|
||||
]
|
||||
},
|
||||
"stage_3": {
|
||||
"blessing": 3031362,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 1,
|
||||
"DeadCount": 0,
|
||||
"score": 40000,
|
||||
"lineup": [
|
||||
1506,
|
||||
1502,
|
||||
1501,
|
||||
1217
|
||||
]
|
||||
}
|
||||
},
|
||||
"30185": {
|
||||
"stage_1": {
|
||||
"blessing": 3111090,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 1,
|
||||
"DeadCount": 0,
|
||||
"score": 3932,
|
||||
"lineup": [
|
||||
1501,
|
||||
1502,
|
||||
1414,
|
||||
1506
|
||||
]
|
||||
},
|
||||
"stage_2": {
|
||||
"blessing": 3111085,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 1,
|
||||
"DeadCount": 0,
|
||||
"score": 3913,
|
||||
"lineup": [
|
||||
1310,
|
||||
1225,
|
||||
1303,
|
||||
1321
|
||||
]
|
||||
},
|
||||
"stage_3": {
|
||||
"blessing": 3111071,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 1,
|
||||
"DeadCount": 0,
|
||||
"score": 4000,
|
||||
"lineup": [
|
||||
1415,
|
||||
1413,
|
||||
1407,
|
||||
1409
|
||||
]
|
||||
}
|
||||
},
|
||||
"5213": {
|
||||
"stage_1": {
|
||||
"blessing": 0,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 1,
|
||||
"DeadCount": 0,
|
||||
"score": 0,
|
||||
"lineup": [
|
||||
1407,
|
||||
1413,
|
||||
1415,
|
||||
1409
|
||||
]
|
||||
},
|
||||
"stage_2": {
|
||||
"blessing": 0,
|
||||
"cycle_count": 1,
|
||||
"battle_status": 1,
|
||||
"DeadCount": 0,
|
||||
"score": 0,
|
||||
"lineup": [
|
||||
1310,
|
||||
1321,
|
||||
1225,
|
||||
1222
|
||||
]
|
||||
},
|
||||
"stage_3": {
|
||||
"blessing": 0,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 1,
|
||||
"DeadCount": 0,
|
||||
"score": 0,
|
||||
"lineup": [
|
||||
1506,
|
||||
1502,
|
||||
1501,
|
||||
1414
|
||||
]
|
||||
}
|
||||
},
|
||||
"5313": {
|
||||
"stage_1": {
|
||||
"blessing": 0,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 3,
|
||||
"DeadCount": 0,
|
||||
"score": 0,
|
||||
"lineup": [
|
||||
1510,
|
||||
8001,
|
||||
1004,
|
||||
1414
|
||||
]
|
||||
},
|
||||
"stage_2": {
|
||||
"blessing": 0,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 0,
|
||||
"DeadCount": 0,
|
||||
"score": 0,
|
||||
"lineup": [
|
||||
1302
|
||||
]
|
||||
},
|
||||
"stage_3": {
|
||||
"blessing": 0,
|
||||
"cycle_count": 0,
|
||||
"battle_status": 0,
|
||||
"DeadCount": 0,
|
||||
"score": 0,
|
||||
"lineup": [
|
||||
1321
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"challenge_peak": {
|
||||
"current_mode": "Boss",
|
||||
"group_id": 6,
|
||||
"current_mode": "Knight",
|
||||
"group_id": 8,
|
||||
"is_in_challenge_peak": false,
|
||||
"challenge_peak_data": {
|
||||
"1": {
|
||||
@@ -269,16 +438,16 @@
|
||||
"challenge_id": 604,
|
||||
"blessing": 3033053,
|
||||
"lineup": [
|
||||
1501,
|
||||
1506,
|
||||
1505,
|
||||
1217,
|
||||
1502,
|
||||
1217
|
||||
8001
|
||||
],
|
||||
"stage_id": 30506021,
|
||||
"is_hard_mode": false
|
||||
},
|
||||
"knight_data": {
|
||||
"current_challenge_id": 603,
|
||||
"current_challenge_id": 602,
|
||||
"details_data": [
|
||||
{
|
||||
"lineup": [
|
||||
@@ -309,6 +478,60 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"7": {
|
||||
"checkmate_data": {
|
||||
"challenge_id": 704,
|
||||
"blessing": 3033061,
|
||||
"lineup": [
|
||||
1505,
|
||||
1502,
|
||||
1414,
|
||||
1410
|
||||
],
|
||||
"stage_id": 30507021,
|
||||
"is_hard_mode": false
|
||||
},
|
||||
"knight_data": {
|
||||
"current_challenge_id": 703,
|
||||
"details_data": [
|
||||
{
|
||||
"lineup": [
|
||||
1414
|
||||
],
|
||||
"stage_id": 30507011,
|
||||
"challenge_id": 701
|
||||
},
|
||||
{
|
||||
"lineup": [
|
||||
1501
|
||||
],
|
||||
"stage_id": 30507012,
|
||||
"challenge_id": 702
|
||||
},
|
||||
{
|
||||
"lineup": [
|
||||
1507,
|
||||
1222
|
||||
],
|
||||
"stage_id": 30507013,
|
||||
"challenge_id": 703
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"8": {
|
||||
"checkmate_data": {
|
||||
"challenge_id": 0,
|
||||
"blessing": 0,
|
||||
"lineup": null,
|
||||
"stage_id": 0,
|
||||
"is_hard_mode": false
|
||||
},
|
||||
"knight_data": {
|
||||
"current_challenge_id": 0,
|
||||
"details_data": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -328,7 +551,8 @@
|
||||
},
|
||||
"cycle_count": 1,
|
||||
"stage_id": 30118121,
|
||||
"mode": false
|
||||
"mode": false,
|
||||
"custom_lineup": []
|
||||
},
|
||||
"profile_data": {
|
||||
"cur_chat_bubble_id": 220009,
|
||||
@@ -339,6 +563,7 @@
|
||||
"cur_avatar_player_icon": 202034,
|
||||
"cur_player_personal_card": 253001,
|
||||
"cur_signature": "Firefly GO By Kain",
|
||||
"cur_nickname": "Firefly GO",
|
||||
"cur_display_avatar": [
|
||||
1310,
|
||||
1309,
|
||||
@@ -350,7 +575,9 @@
|
||||
},
|
||||
"skin_data": {
|
||||
"1001": 1100101,
|
||||
"1310": 1131001
|
||||
"1310": 1131001,
|
||||
"1407": 1140701,
|
||||
"1415": 1141501
|
||||
},
|
||||
"extra_setting": {
|
||||
"censorship": false,
|
||||
|
||||
+9289
-6155
File diff suppressed because it is too large
Load Diff
@@ -1,86 +1,44 @@
|
||||
{
|
||||
"CNBETAAndroid4.1.51": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
||||
"CNBETAAndroid4.3.51": {
|
||||
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||
},
|
||||
"CNBETAAndroid4.1.52": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
||||
"CNBETAWin4.3.51": {
|
||||
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||
},
|
||||
"CNBETAWin4.1.51": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
||||
"CNBETAiOS4.3.51": {
|
||||
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||
},
|
||||
"CNBETAWin4.1.52": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
||||
"OSBETAAndroid4.3.51": {
|
||||
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||
},
|
||||
"CNBETAiOS4.1.51": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
||||
"OSBETAWin4.3.51": {
|
||||
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||
},
|
||||
"CNBETAiOS4.1.52": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
||||
},
|
||||
"OSBETAAndroid4.1.51": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
||||
},
|
||||
"OSBETAAndroid4.1.52": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
||||
},
|
||||
"OSBETAWin4.1.51": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
||||
},
|
||||
"OSBETAWin4.1.52": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
||||
},
|
||||
"OSBETAiOS4.1.51": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
||||
},
|
||||
"OSBETAiOS4.1.52": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
||||
"OSBETAiOS4.3.51": {
|
||||
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||
}
|
||||
}
|
||||
@@ -85,12 +85,31 @@ class MainActivity : ComponentActivity() {
|
||||
super.onCreate(savedInstanceState)
|
||||
requestBatteryExemption(this)
|
||||
requestInstallPermission(this)
|
||||
requestStoragePermission(this)
|
||||
|
||||
val appDataPath = File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), "FireflyGo").absolutePath
|
||||
val dataDir = File("$appDataPath/data")
|
||||
if (!dataDir.exists()) dataDir.mkdirs()
|
||||
|
||||
copyRawToFile(dataDir)
|
||||
val sharedPrefs = getSharedPreferences("AppPrefs", MODE_PRIVATE)
|
||||
val currentVersion = try {
|
||||
if (Build.VERSION.SDK_INT >= 33) {
|
||||
packageManager.getPackageInfo(packageName, android.content.pm.PackageManager.PackageInfoFlags.of(0)).longVersionCode
|
||||
} else {
|
||||
@Suppress("DEPRECATION")
|
||||
packageManager.getPackageInfo(packageName, 0).versionCode.toLong()
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
1L
|
||||
}
|
||||
val lastVersion = sharedPrefs.getLong("last_version_code", 0L)
|
||||
val shouldOverride = currentVersion > lastVersion
|
||||
|
||||
copyRawToFile(dataDir, shouldOverride)
|
||||
|
||||
if (shouldOverride) {
|
||||
sharedPrefs.edit().putLong("last_version_code", currentVersion).apply()
|
||||
}
|
||||
|
||||
val jsonString = resources.openRawResource(R.raw.app_version_json).use { input ->
|
||||
input.bufferedReader().use { it.readText() }
|
||||
@@ -142,6 +161,27 @@ fun requestInstallPermission(context: Context) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun requestStoragePermission(context: Context) {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
if (!Environment.isExternalStorageManager()) {
|
||||
try {
|
||||
val intent = Intent(Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION).apply {
|
||||
data = "package:${context.packageName}".toUri()
|
||||
}
|
||||
context.startActivity(intent)
|
||||
Toast.makeText(context, "Please allow All Files Access to load game data", Toast.LENGTH_LONG).show()
|
||||
} catch (e: Exception) {
|
||||
try {
|
||||
val intent = Intent(Settings.ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION)
|
||||
context.startActivity(intent)
|
||||
} catch (ex: Exception) {
|
||||
Log.e("StoragePermission", "Failed to open settings", ex)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
fun copyRawToFile(targetDir: File, override: Boolean = false): Boolean {
|
||||
val files = listOf(
|
||||
"assets/data-in-game.json" to "data-in-game.json",
|
||||
@@ -317,7 +357,8 @@ fun ServerControlScreen(appDataPath: String, dataDir: File, appVersion: AppVersi
|
||||
|
||||
// Widget icons row
|
||||
Row(
|
||||
horizontalArrangement = Arrangement.spacedBy(32.dp),
|
||||
modifier = Modifier.fillMaxWidth(0.85f),
|
||||
horizontalArrangement = Arrangement.SpaceEvenly,
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
|
||||
@@ -325,6 +366,7 @@ fun ServerControlScreen(appDataPath: String, dataDir: File, appVersion: AppVersi
|
||||
Column(
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
modifier = Modifier
|
||||
.width(80.dp)
|
||||
.clickable { showUpdateDialog = true }
|
||||
.background(
|
||||
Color.White.copy(alpha = 0.8f),
|
||||
@@ -352,6 +394,7 @@ fun ServerControlScreen(appDataPath: String, dataDir: File, appVersion: AppVersi
|
||||
Column(
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
modifier = Modifier
|
||||
.width(80.dp)
|
||||
.clickable { showResetDialog = true }
|
||||
.background(
|
||||
Color.White.copy(alpha = 0.8f),
|
||||
@@ -379,6 +422,7 @@ fun ServerControlScreen(appDataPath: String, dataDir: File, appVersion: AppVersi
|
||||
Column(
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
modifier = Modifier
|
||||
.width(80.dp)
|
||||
.clickable {
|
||||
showLogs = true // mở popup log
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"latest_version": "4.1.2-01",
|
||||
"changelog": "UPDATE: 4.1.52",
|
||||
"apk_url": "https://git.kain.io.vn/Firefly-Shelter/FireflyGo_Android/releases/download/4.1.2-01/firefly_go_android.apk"
|
||||
"latest_version": "4.3.1-02",
|
||||
"changelog": "UPDATE: 4.3.5X",
|
||||
"apk_url": "https://git.kain.io.vn/Firefly-Shelter/FireflyGo_Android/releases/download/4.3.1-02/firefly_go_android.apk"
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
# Changelog
|
||||
|
||||
## - UPDATE: Support 4.1.5X
|
||||
## - UPDATE: Support 4.3.5X
|
||||
+3
-2
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"tag": "4.1.2-01",
|
||||
"title": "PreBuild Version 4.1.52 - 01"
|
||||
"tag": "4.3.1-02",
|
||||
"title": "PreBuild Version 4.3.51 - 02"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user