update core

This commit is contained in:
hiddify 2025-04-21 12:21:41 +02:00
parent 68acf73f6a
commit 05a1520fac
No known key found for this signature in database
GPG Key ID: 01577B25074251AB
4 changed files with 4 additions and 4 deletions

View File

@ -131,7 +131,7 @@ class ServiceNotification(private val status: MutableLiveData<Status>, private v
}
fun updateStatus(status: SystemInfo) {
val content = "${status.current_outbound}:\t\n ${Libbox.formatBytes(status.uplink)}/s ↑\t${Libbox.formatBytes(status.downlink)}/s ↓"
val content = "${Libbox.formatBytes(status.uplink)}/s ↑\t${Libbox.formatBytes(status.downlink)}/s ↓ \n${status.current_outbound}"
val title = "${status.current_profile}"
Application.notificationManager.notify(
notificationId,

View File

@ -194,8 +194,7 @@ class VPNService : VpnService(), PlatformInterfaceWrapper {
systemProxyEnabled = false
}
val pfd =
builder.establish() ?: error("android: the application is not prepared or is revoked")
val pfd = builder.establish() ?: error("android: the application is not prepared or is revoked")
service.fileDescriptor = pfd
return pfd.fd
}

@ -1 +1 @@
Subproject commit 00503d9080fcecf8ca75f739e00070204b81252e
Subproject commit e7ee94f2f14ad22d945b09d5cc7c966678b9509e

View File

@ -208,6 +208,7 @@ class HiddifyCoreService with InfraLogger {
final res = await core.bgClient.restart(
StartRequest(
configPath: path,
configName: name,
disableMemoryLimit: disableMemoryLimit,
delayStart: true,
),