add embed setting, and fix toughtness error
This commit is contained in:
@@ -32,22 +32,12 @@ class MainActivity : ComponentActivity() {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
val appDataPath = filesDir.absolutePath
|
||||
val resourceDir = File("$appDataPath/resources")
|
||||
val dataDir = File("$appDataPath/data")
|
||||
val rootDir = File(appDataPath)
|
||||
resourceDir.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, "freesr-data.json", R.raw.freesr_data_json)
|
||||
checkAndCreateFile(dataDir, "version.json", R.raw.version_json)
|
||||
checkAndCreateFile(dataDir, "challenge.json", R.raw.challenge_json)
|
||||
|
||||
enableEdgeToEdge()
|
||||
setContent {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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
@@ -1,3 +1,3 @@
|
||||
<resources>
|
||||
<string name="app_name">FireflyPsAndroid-3.2.5X</string>
|
||||
<string name="app_name">FireflyPsAndroid-3.3.5X</string>
|
||||
</resources>
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c1ffa7a8a9ba97737f3896e0b770c808dabf7aa43fd49499c482f118d151b85d
|
||||
size 64721048
|
||||
oid sha256:7ba64ec9f762e6d5edd00d7b87ff743d9aabaadd1b88b4fb77436d9fdfbc3c90
|
||||
size 70766987
|
||||
|
||||
Reference in New Issue
Block a user