Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
alias(libs.plugins.ktlint)
}

val baseVersionName = "0.4.0"
val baseVersionName = "0.4.1"
val Project.verName: String get() = "${baseVersionName}$versionNameSuffix.${exec("git rev-parse --short HEAD")}"
val Project.verCode: Int get() = exec("git rev-list --count HEAD").toInt()
val Project.isDevVersion: Boolean get() = exec("git tag -l v$baseVersionName").isEmpty()
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/rs/clash/android/service/TunService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class TunService : VpnService() {
builder.allowBypass()
vpnInterface = builder.establish()

tunFd = vpnInterface?.fd
tunFd = vpnInterface?.detachFd()
val fd = tunFd ?: run {
Log.e("clash", "VPN interface fd is null, aborting")
stopVpn()
Expand Down
Loading