add embed setting, and fix toughtness error

This commit is contained in:
2025-05-30 14:34:41 +07:00
parent f7e435972c
commit 6b5634de48
8 changed files with 3 additions and 58522 deletions

View File

@@ -32,22 +32,12 @@ class MainActivity : ComponentActivity() {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
val appDataPath = filesDir.absolutePath val appDataPath = filesDir.absolutePath
val resourceDir = File("$appDataPath/resources")
val dataDir = File("$appDataPath/data") val dataDir = File("$appDataPath/data")
val rootDir = File(appDataPath)
resourceDir.mkdirs()
dataDir.mkdirs() dataDir.mkdirs()
checkAndCreateFile(rootDir, ".env", R.raw.env)
checkAndCreateFile(resourceDir, "res.json", R.raw.res_json)
checkAndCreateFile(resourceDir, "avatar.json", R.raw.avatar_json)
checkAndCreateFile(resourceDir, "game_config.json", R.raw.game_config_json)
checkAndCreateFile(dataDir, "data-in-game.json", R.raw.data_in_game_json) checkAndCreateFile(dataDir, "data-in-game.json", R.raw.data_in_game_json)
checkAndCreateFile(dataDir, "freesr-data.json", R.raw.freesr_data_json) checkAndCreateFile(dataDir, "freesr-data.json", R.raw.freesr_data_json)
checkAndCreateFile(dataDir, "version.json", R.raw.version_json) checkAndCreateFile(dataDir, "version.json", R.raw.version_json)
checkAndCreateFile(dataDir, "challenge.json", R.raw.challenge_json)
enableEdgeToEdge() enableEdgeToEdge()
setContent { setContent {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +0,0 @@
STARRAIL_HTTP_PORT=21000
STARRAIL_GAME_PORT=23301
STARRAIL_CONV_KCP=344
STARRAIL_TOKEN_KCP=443
STARRAIL_GAME_IP=127.0.0.1
ENV_SERVER=22

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,3 @@
<resources> <resources>
<string name="app_name">FireflyPsAndroid-3.2.5X</string> <string name="app_name">FireflyPsAndroid-3.3.5X</string>
</resources> </resources>

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:c1ffa7a8a9ba97737f3896e0b770c808dabf7aa43fd49499c482f118d151b85d oid sha256:7ba64ec9f762e6d5edd00d7b87ff743d9aabaadd1b88b4fb77436d9fdfbc3c90
size 64721048 size 70766987