Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c1b105942 | |||
| ee390c249a | |||
| 55ab8136f3 | |||
| dd2f98c809 | |||
| 08ee73b2eb | |||
| 3b1f235e81 | |||
| 87f9c17352 | |||
| 79776ddb45 | |||
| e398ead7ba | |||
| f6938e8b8a | |||
| a2eb9d37f6 | |||
| a99eb85fdd | |||
| bd647edd48 | |||
| 77374d8b50 | |||
| a6be76cc3a | |||
| 8c56999da0 |
Generated
-1
@@ -1,4 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ android {
|
|||||||
applicationId = "com.kain344.firefly_go_android"
|
applicationId = "com.kain344.firefly_go_android"
|
||||||
minSdk = 24
|
minSdk = 24
|
||||||
targetSdk = 35
|
targetSdk = 35
|
||||||
versionCode = 1
|
versionCode = 2
|
||||||
versionName = "1.0"
|
versionName = "1.0.1"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
@@ -100,4 +100,3 @@ dependencies {
|
|||||||
|
|
||||||
implementation(libs.slf4j.android)
|
implementation(libs.slf4j.android)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
Binary file not shown.
@@ -15,6 +15,8 @@
|
|||||||
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"
|
||||||
tools:ignore="RequestInstallPackagesPolicy" />
|
tools:ignore="RequestInstallPackagesPolicy" />
|
||||||
<uses-permission android:name="android.permission.READ_LOGS"/>
|
<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" />
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"leader": 0,
|
"leader": 2,
|
||||||
"lineups": {
|
"lineups": {
|
||||||
"0": 1308,
|
"0": 1409,
|
||||||
"1": 1406,
|
"1": 1407,
|
||||||
"2": 1218,
|
"2": 1406,
|
||||||
"3": 1304
|
"3": 1403
|
||||||
},
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"x": -4030,
|
"x": -4030,
|
||||||
@@ -21,12 +21,12 @@
|
|||||||
1003
|
1003
|
||||||
],
|
],
|
||||||
"char_path": {
|
"char_path": {
|
||||||
"main": 8010,
|
"main": 8008,
|
||||||
"march_7": 1224
|
"march_7": 1224
|
||||||
},
|
},
|
||||||
"char_enhanced": {
|
"char_enhanced": {
|
||||||
"1004": 1,
|
"1004": 1,
|
||||||
"1005": 1,
|
"1005": 0,
|
||||||
"1006": 1,
|
"1006": 1,
|
||||||
"1102": 1,
|
"1102": 1,
|
||||||
"1205": 1,
|
"1205": 1,
|
||||||
@@ -39,17 +39,186 @@
|
|||||||
"challenge": {
|
"challenge": {
|
||||||
"challenge_id": 0,
|
"challenge_id": 0,
|
||||||
"skip_half": 0,
|
"skip_half": 0,
|
||||||
|
"random_seed": 0,
|
||||||
"blessings": [],
|
"blessings": [],
|
||||||
"is_in_challenge": false,
|
"is_in_challenge": false,
|
||||||
"current_stage_id": 30122121,
|
"current_stage_id": 0,
|
||||||
"path_resonance_id": 0,
|
"path_resonance_id": 0,
|
||||||
"maze_buff": 0,
|
"maze_buff": 0,
|
||||||
"first_lineup": [],
|
"first_lineup": [],
|
||||||
"second_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": {
|
"challenge_peak": {
|
||||||
"current_mode": "Boss",
|
"current_mode": "Knight",
|
||||||
"group_id": 6,
|
"group_id": 8,
|
||||||
"is_in_challenge_peak": false,
|
"is_in_challenge_peak": false,
|
||||||
"challenge_peak_data": {
|
"challenge_peak_data": {
|
||||||
"1": {
|
"1": {
|
||||||
@@ -269,16 +438,16 @@
|
|||||||
"challenge_id": 604,
|
"challenge_id": 604,
|
||||||
"blessing": 3033053,
|
"blessing": 3033053,
|
||||||
"lineup": [
|
"lineup": [
|
||||||
1501,
|
1505,
|
||||||
1506,
|
1217,
|
||||||
1502,
|
1502,
|
||||||
1217
|
8001
|
||||||
],
|
],
|
||||||
"stage_id": 30506021,
|
"stage_id": 30506021,
|
||||||
"is_hard_mode": false
|
"is_hard_mode": false
|
||||||
},
|
},
|
||||||
"knight_data": {
|
"knight_data": {
|
||||||
"current_challenge_id": 603,
|
"current_challenge_id": 602,
|
||||||
"details_data": [
|
"details_data": [
|
||||||
{
|
{
|
||||||
"lineup": [
|
"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,
|
"cycle_count": 1,
|
||||||
"stage_id": 30118121,
|
"stage_id": 30118121,
|
||||||
"mode": false
|
"mode": false,
|
||||||
|
"custom_lineup": []
|
||||||
},
|
},
|
||||||
"profile_data": {
|
"profile_data": {
|
||||||
"cur_chat_bubble_id": 220009,
|
"cur_chat_bubble_id": 220009,
|
||||||
@@ -339,6 +563,7 @@
|
|||||||
"cur_avatar_player_icon": 202034,
|
"cur_avatar_player_icon": 202034,
|
||||||
"cur_player_personal_card": 253001,
|
"cur_player_personal_card": 253001,
|
||||||
"cur_signature": "Firefly GO By Kain",
|
"cur_signature": "Firefly GO By Kain",
|
||||||
|
"cur_nickname": "Firefly GO",
|
||||||
"cur_display_avatar": [
|
"cur_display_avatar": [
|
||||||
1310,
|
1310,
|
||||||
1309,
|
1309,
|
||||||
@@ -350,7 +575,9 @@
|
|||||||
},
|
},
|
||||||
"skin_data": {
|
"skin_data": {
|
||||||
"1001": 1100101,
|
"1001": 1100101,
|
||||||
"1310": 1131001
|
"1310": 1131001,
|
||||||
|
"1407": 1140701,
|
||||||
|
"1415": 1141501
|
||||||
},
|
},
|
||||||
"extra_setting": {
|
"extra_setting": {
|
||||||
"censorship": false,
|
"censorship": false,
|
||||||
|
|||||||
+9295
-6161
File diff suppressed because it is too large
Load Diff
@@ -1,86 +1,86 @@
|
|||||||
{
|
{
|
||||||
"CNBETAAndroid4.1.51": {
|
"CNBETAAndroid4.3.51": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"CNBETAAndroid4.1.52": {
|
"CNBETAAndroid4.3.52": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15318724_a7af31327e74_b3328eb95329b2",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15305751_09783637ccc4_d16f9c81138ab3",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"CNBETAWin4.1.51": {
|
"CNBETAWin4.3.51": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"CNBETAWin4.1.52": {
|
"CNBETAWin4.3.52": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15318724_a7af31327e74_b3328eb95329b2",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15305751_09783637ccc4_d16f9c81138ab3",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"CNBETAiOS4.1.51": {
|
"CNBETAiOS4.3.51": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"CNBETAiOS4.1.52": {
|
"CNBETAiOS4.3.52": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15318724_a7af31327e74_b3328eb95329b2",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15305751_09783637ccc4_d16f9c81138ab3",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"OSBETAAndroid4.1.51": {
|
"OSBETAAndroid4.3.51": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"OSBETAAndroid4.1.52": {
|
"OSBETAAndroid4.3.52": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15318724_a7af31327e74_b3328eb95329b2",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15305751_09783637ccc4_d16f9c81138ab3",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"OSBETAWin4.1.51": {
|
"OSBETAWin4.3.51": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"OSBETAWin4.1.52": {
|
"OSBETAWin4.3.52": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15318724_a7af31327e74_b3328eb95329b2",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15305751_09783637ccc4_d16f9c81138ab3",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"OSBETAiOS4.1.51": {
|
"OSBETAiOS4.3.51": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14372365_fa78e03ad599_36972b4e3bb553",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15261247_f6e6db2125cf_369da465b36faf",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14352532_e3dee8767e70_9fd758f12171f5",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15235885_6091fd15561a_83828f542dc1f3",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14394020_12e3f0c6a002_07566508dd1394",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15265964_c2fbb1eb05fc_f2238199ee2b6e",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14358961_e055a63b3c34_b199a0234548b5",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15242148_d40f856defc0_599b68a0adf7bd",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14374543_04d971175704_ab00cb3f54bb00"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
},
|
},
|
||||||
"OSBETAiOS4.1.52": {
|
"OSBETAiOS4.3.52": {
|
||||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"asset_bundle_url_b": "https://autopatchcn.bhsr.com/asb/BetaLive/output_14420305_7a74f0e95f84_edf69bcd963b3a",
|
"asset_bundle_url_b": "https://autopatchos.starrails.com/asb/BetaLive/output_15305566_fea016d35145_54bbf8ab4009f5",
|
||||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_14427120_6f7bdcd832cf_5c861411529529",
|
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_15318724_a7af31327e74_b3328eb95329b2",
|
||||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_14426018_808f7828fdd4_646eb1de0d5580",
|
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_15305751_09783637ccc4_d16f9c81138ab3",
|
||||||
"ifix_url": "https://autopatchcn.bhsr.com/ifix/BetaLive/output_14460274_5ed5ff5977db_299d2e7b72efe8"
|
"ifix_url": "https://autopatchos.starrails.com/ifix/BetaLive/output_15265964_799df4f0ecef_5a94550ba64cff"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -85,21 +85,60 @@ class MainActivity : ComponentActivity() {
|
|||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
requestBatteryExemption(this)
|
requestBatteryExemption(this)
|
||||||
requestInstallPermission(this)
|
requestInstallPermission(this)
|
||||||
|
requestStoragePermission(this)
|
||||||
|
|
||||||
val appDataPath = File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), "FireflyGo").absolutePath
|
val appDataPath = File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), "FireflyGo").absolutePath
|
||||||
val dataDir = File("$appDataPath/data")
|
val dataDir = File("$appDataPath/data")
|
||||||
if (!dataDir.exists()) dataDir.mkdirs()
|
if (!dataDir.exists()) dataDir.mkdirs()
|
||||||
|
|
||||||
copyRawToFile(dataDir)
|
val sharedPrefs = getSharedPreferences("AppPrefs", MODE_PRIVATE)
|
||||||
|
|
||||||
val jsonString = resources.openRawResource(R.raw.app_version_json).use { input ->
|
// Lấy thông tin Package
|
||||||
input.bufferedReader().use { it.readText() }
|
val packageInfo = if (Build.VERSION.SDK_INT >= 33) {
|
||||||
|
packageManager.getPackageInfo(packageName, android.content.pm.PackageManager.PackageInfoFlags.of(0))
|
||||||
|
} else {
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
|
packageManager.getPackageInfo(packageName, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
val jsonObject = JSONObject(jsonString)
|
val currentVersionCode = if (Build.VERSION.SDK_INT >= 33) packageInfo.longVersionCode else packageInfo.versionCode.toLong()
|
||||||
val latestVersion = jsonObject.getString("latest_version")
|
val currentLastUpdateTime = packageInfo.lastUpdateTime
|
||||||
val changelog = jsonObject.getString("changelog")
|
|
||||||
val apkUrl = jsonObject.getString("apk_url")
|
val savedVersionCode = sharedPrefs.getLong("last_version_code", 0L)
|
||||||
|
val savedLastUpdateTime = sharedPrefs.getLong("last_update_time", 0L)
|
||||||
|
|
||||||
|
val isFolderEmpty = dataDir.listFiles()?.isEmpty() ?: true
|
||||||
|
|
||||||
|
val shouldOverride = currentVersionCode > savedVersionCode ||
|
||||||
|
currentLastUpdateTime > savedLastUpdateTime ||
|
||||||
|
isFolderEmpty
|
||||||
|
|
||||||
|
Log.i("AppUpdate", "Code: $currentVersionCode, LastUpdate: $currentLastUpdateTime")
|
||||||
|
Log.i("AppUpdate", "SavedCode: $savedVersionCode, SavedUpdate: $savedLastUpdateTime")
|
||||||
|
Log.i("AppUpdate", "Should Override: $shouldOverride")
|
||||||
|
|
||||||
|
if (copyRawToFile(this, dataDir, shouldOverride)) {
|
||||||
|
if (shouldOverride) {
|
||||||
|
sharedPrefs.edit()
|
||||||
|
.putLong("last_version_code", currentVersionCode)
|
||||||
|
.putLong("last_update_time", currentLastUpdateTime)
|
||||||
|
.apply()
|
||||||
|
Log.i("AppUpdate", "Updated SharedPreferences with new version and time")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
val jsonString = try {
|
||||||
|
resources.openRawResource(R.raw.app_version_json).use { input ->
|
||||||
|
input.bufferedReader().use { it.readText() }
|
||||||
|
}
|
||||||
|
} catch (e: Exception) {
|
||||||
|
"{}"
|
||||||
|
}
|
||||||
|
|
||||||
|
val jsonObject = if (jsonString.isNotEmpty()) JSONObject(jsonString) else JSONObject()
|
||||||
|
val latestVersion = jsonObject.optString("latest_version", "1.0.0")
|
||||||
|
val changelog = jsonObject.optString("changelog", "")
|
||||||
|
val apkUrl = jsonObject.optString("apk_url", "")
|
||||||
|
|
||||||
val appVersion = AppVersion(latestVersion, changelog, apkUrl)
|
val appVersion = AppVersion(latestVersion, changelog, apkUrl)
|
||||||
|
|
||||||
@@ -142,27 +181,47 @@ fun requestInstallPermission(context: Context) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fun copyRawToFile(targetDir: File, override: Boolean = false): Boolean {
|
|
||||||
|
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(context: Context, targetDir: File, override: Boolean = false): Boolean {
|
||||||
val files = listOf(
|
val files = listOf(
|
||||||
"assets/data-in-game.json" to "data-in-game.json",
|
"data-in-game.json" to "data-in-game.json",
|
||||||
"assets/freesr-data.json" to "freesr-data.json",
|
"freesr-data.json" to "freesr-data.json",
|
||||||
"assets/version.json" to "version.json"
|
"version.json" to "version.json"
|
||||||
)
|
)
|
||||||
|
|
||||||
return try {
|
return try {
|
||||||
if (!targetDir.exists()) targetDir.mkdirs()
|
if (!targetDir.exists()) targetDir.mkdirs()
|
||||||
|
|
||||||
for ((assetPath, name) in files) {
|
for ((assetFile, outName) in files) {
|
||||||
val outFile = File(targetDir, name)
|
val outFile = File(targetDir, outName)
|
||||||
|
|
||||||
if (outFile.exists() && !override) continue
|
if (outFile.exists() && !override) {
|
||||||
|
Log.i("CopyRaw", "Skipping $outName (already exists and no override)")
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
val inputStream =
|
Log.i("CopyRaw", "Copying $assetFile to ${outFile.absolutePath} (Override: $override)")
|
||||||
MainActivity::class.java.classLoader
|
context.assets.open(assetFile).use { input ->
|
||||||
?.getResourceAsStream(assetPath)
|
|
||||||
?: return false
|
|
||||||
|
|
||||||
inputStream.use { input ->
|
|
||||||
FileOutputStream(outFile).use { output ->
|
FileOutputStream(outFile).use { output ->
|
||||||
input.copyTo(output)
|
input.copyTo(output)
|
||||||
output.fd.sync()
|
output.fd.sync()
|
||||||
@@ -172,6 +231,7 @@ fun copyRawToFile(targetDir: File, override: Boolean = false): Boolean {
|
|||||||
|
|
||||||
true
|
true
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
|
Log.e("CopyRaw", "Error copying asset file: ${e.message}", e)
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -317,7 +377,8 @@ fun ServerControlScreen(appDataPath: String, dataDir: File, appVersion: AppVersi
|
|||||||
|
|
||||||
// Widget icons row
|
// Widget icons row
|
||||||
Row(
|
Row(
|
||||||
horizontalArrangement = Arrangement.spacedBy(32.dp),
|
modifier = Modifier.fillMaxWidth(0.85f),
|
||||||
|
horizontalArrangement = Arrangement.SpaceEvenly,
|
||||||
verticalAlignment = Alignment.CenterVertically
|
verticalAlignment = Alignment.CenterVertically
|
||||||
) {
|
) {
|
||||||
|
|
||||||
@@ -325,6 +386,7 @@ fun ServerControlScreen(appDataPath: String, dataDir: File, appVersion: AppVersi
|
|||||||
Column(
|
Column(
|
||||||
horizontalAlignment = Alignment.CenterHorizontally,
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
.width(80.dp)
|
||||||
.clickable { showUpdateDialog = true }
|
.clickable { showUpdateDialog = true }
|
||||||
.background(
|
.background(
|
||||||
Color.White.copy(alpha = 0.8f),
|
Color.White.copy(alpha = 0.8f),
|
||||||
@@ -352,6 +414,7 @@ fun ServerControlScreen(appDataPath: String, dataDir: File, appVersion: AppVersi
|
|||||||
Column(
|
Column(
|
||||||
horizontalAlignment = Alignment.CenterHorizontally,
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
.width(80.dp)
|
||||||
.clickable { showResetDialog = true }
|
.clickable { showResetDialog = true }
|
||||||
.background(
|
.background(
|
||||||
Color.White.copy(alpha = 0.8f),
|
Color.White.copy(alpha = 0.8f),
|
||||||
@@ -379,6 +442,7 @@ fun ServerControlScreen(appDataPath: String, dataDir: File, appVersion: AppVersi
|
|||||||
Column(
|
Column(
|
||||||
horizontalAlignment = Alignment.CenterHorizontally,
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
.width(80.dp)
|
||||||
.clickable {
|
.clickable {
|
||||||
showLogs = true // mở popup log
|
showLogs = true // mở popup log
|
||||||
}
|
}
|
||||||
@@ -427,7 +491,7 @@ fun ServerControlScreen(appDataPath: String, dataDir: File, appVersion: AppVersi
|
|||||||
onClick = {
|
onClick = {
|
||||||
showResetDialog = false
|
showResetDialog = false
|
||||||
try {
|
try {
|
||||||
copyRawToFile(dataDir, true)
|
copyRawToFile(context, dataDir, true)
|
||||||
Toast.makeText(context, "Data has been reset successfully", Toast.LENGTH_SHORT).show()
|
Toast.makeText(context, "Data has been reset successfully", Toast.LENGTH_SHORT).show()
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Toast.makeText(context, "Reset failed: ${e.message}", Toast.LENGTH_SHORT).show()
|
Toast.makeText(context, "Reset failed: ${e.message}", Toast.LENGTH_SHORT).show()
|
||||||
@@ -611,7 +675,7 @@ fun AutoUpdateDialog(
|
|||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
val autoUpdaterManager = AutoUpdaterManager(context)
|
val autoUpdaterManager = AutoUpdaterManager(context)
|
||||||
var update by remember { mutableStateOf<UpdateFeatures?>(null) }
|
var update by remember { mutableStateOf<UpdateFeatures?>(null) }
|
||||||
var progress by remember { mutableIntStateOf(0) }
|
var progress by remember { mutableStateOf(0) }
|
||||||
var showDialog by remember { mutableStateOf(false) }
|
var showDialog by remember { mutableStateOf(false) }
|
||||||
var isDownloading by remember { mutableStateOf(false) }
|
var isDownloading by remember { mutableStateOf(false) }
|
||||||
var downloadComplete by remember { mutableStateOf(false) }
|
var downloadComplete by remember { mutableStateOf(false) }
|
||||||
@@ -653,11 +717,6 @@ fun AutoUpdateDialog(
|
|||||||
LaunchedEffect(progress) {
|
LaunchedEffect(progress) {
|
||||||
if (progress >= 100 && isDownloading) {
|
if (progress >= 100 && isDownloading) {
|
||||||
downloadComplete = true
|
downloadComplete = true
|
||||||
|
|
||||||
removeFile(dataDir, "data-in-game.json" )
|
|
||||||
removeFile(dataDir, "freesr-data.json")
|
|
||||||
removeFile(dataDir, "version.json")
|
|
||||||
delay(500)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"latest_version": "4.1.2-01",
|
"latest_version": "4.3.2-02",
|
||||||
"changelog": "UPDATE: 4.1.52",
|
"changelog": "UPDATE: 4.3.5X",
|
||||||
"apk_url": "https://git.kain.io.vn/Firefly-Shelter/FireflyGo_Android/releases/download/4.1.2-01/firefly_go_android.apk"
|
"apk_url": "https://git.kain.io.vn/Firefly-Shelter/FireflyGo_Android/releases/download/4.3.2-02/firefly_go_android.apk"
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## - UPDATE: Support 4.1.5X
|
## - UPDATE: Support 4.3.5X
|
||||||
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"tag": "4.1.2-01",
|
"tag": "4.3.2-02",
|
||||||
"title": "PreBuild Version 4.1.52 - 01"
|
"title": "PreBuild Version 4.3.52 - 02"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user