From fcfb6571cb80d7d63d641fc0b10a4a9ce55d0d98 Mon Sep 17 00:00:00 2001 From: arm64v8a <48624112+arm64v8a@users.noreply.github.com> Date: Mon, 10 Jul 2023 15:38:35 +0900 Subject: [PATCH] 1.1.6 --- app/src/main/java/io/nekohasekai/sagernet/fmt/PluginEntry.kt | 2 +- libcore/box.go | 4 +++- libcore/date.go | 2 +- nb4a.properties | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/io/nekohasekai/sagernet/fmt/PluginEntry.kt b/app/src/main/java/io/nekohasekai/sagernet/fmt/PluginEntry.kt index 200343b..c649aa9 100644 --- a/app/src/main/java/io/nekohasekai/sagernet/fmt/PluginEntry.kt +++ b/app/src/main/java/io/nekohasekai/sagernet/fmt/PluginEntry.kt @@ -54,7 +54,7 @@ enum class PluginEntry( data class DownloadSource( val playStore: Boolean = true, val fdroid: Boolean = true, - val downloadLink: String = "https://sagernet.org/download/" + val downloadLink: String = "https://matsuridayo.github.io/" ) companion object { diff --git a/libcore/box.go b/libcore/box.go index 22ed515..b682d85 100644 --- a/libcore/box.go +++ b/libcore/box.go @@ -96,7 +96,9 @@ func NewSingBoxInstance(config string) (b *BoxInstance, err error) { } // fuck your sing-box platformFormatter - instance.GetLogPlatformFormatter().DisableColors = true + pf := instance.GetLogPlatformFormatter() + pf.DisableColors = true + pf.DisableLineBreak = false // selector if proxy, ok := b.Router().Outbound("proxy"); ok { diff --git a/libcore/date.go b/libcore/date.go index c42d9ee..986d70a 100644 --- a/libcore/date.go +++ b/libcore/date.go @@ -8,7 +8,7 @@ import ( var outdated string func GetBuildTime() int64 { - buildDate := 20230703 + buildDate := 20230710 buildTime, _ := time.Parse("20060102", strconv.Itoa(buildDate)) return buildTime.Unix() } diff --git a/nb4a.properties b/nb4a.properties index 82c02eb..998b2a9 100644 --- a/nb4a.properties +++ b/nb4a.properties @@ -1,3 +1,3 @@ PACKAGE_NAME=moe.nb4a -VERSION_NAME=1.1.5 -VERSION_CODE=20 +VERSION_NAME=1.1.6 +VERSION_CODE=21