Skip to content

Commit

Permalink
fix: loadbalancer
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed May 1, 2023
1 parent cae1eba commit 089fe4b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
36 changes: 18 additions & 18 deletions V2rayNG/app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,61 +11,61 @@
"type": "UNIVERSAL",
"filters": [],
"attributes": [],
"versionCode": 5100201,
"versionName": "1.2.1",
"versionCode": 5100202,
"versionName": "1.2.2",
"outputFile": "HiddifyNG_null.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "x86"
"value": "x86_64"
}
],
"attributes": [],
"versionCode": 8100201,
"versionName": "1.2.1",
"outputFile": "HiddifyNG_x86.apk"
"versionCode": 9100202,
"versionName": "1.2.2",
"outputFile": "HiddifyNG_x86_64.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "x86_64"
"value": "x86"
}
],
"attributes": [],
"versionCode": 9100201,
"versionName": "1.2.1",
"outputFile": "HiddifyNG_x86_64.apk"
"versionCode": 8100202,
"versionName": "1.2.2",
"outputFile": "HiddifyNG_x86.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "armeabi-v7a"
"value": "arm64-v8a"
}
],
"attributes": [],
"versionCode": 6100201,
"versionName": "1.2.1",
"outputFile": "HiddifyNG_armeabi-v7a.apk"
"versionCode": 7100202,
"versionName": "1.2.2",
"outputFile": "HiddifyNG_arm64-v8a.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "arm64-v8a"
"value": "armeabi-v7a"
}
],
"attributes": [],
"versionCode": 7100201,
"versionName": "1.2.1",
"outputFile": "HiddifyNG_arm64-v8a.apk"
"versionCode": 6100202,
"versionName": "1.2.2",
"outputFile": "HiddifyNG_armeabi-v7a.apk"
}
],
"elementType": "File"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,8 @@ object AngConfigManager {
if(!append) {
MmkvManager.removeServerViaSubid(subid)
}
MmkvManager.encodeServerConfig(subid+1, ServerConfig(configType = EConfigType.LoadBalance, remarks = "LoadBalance", subscriptionId = subid))
MmkvManager.encodeServerConfig(subid+2, ServerConfig(configType = EConfigType.LowestPing, remarks = "LowestPing", subscriptionId = subid))
MmkvManager.encodeServerConfig(subid+2, ServerConfig(configType = EConfigType.LoadBalance, remarks = "LoadBalance", subscriptionId = subid))
MmkvManager.encodeServerConfig(subid+1, ServerConfig(configType = EConfigType.LowestPing, remarks = "LowestPing", subscriptionId = subid))
// var servers = server
// if (server.indexOf("vmess") >= 0 && server.indexOf("vmess") == server.lastIndexOf("vmess")) {
// servers = server.replace("\n", "")
Expand Down

0 comments on commit 089fe4b

Please sign in to comment.