set CompatibilityMode for android (#4091)

This commit is contained in:
fatedier
2024-03-21 17:34:09 +08:00
committed by GitHub
parent b36f3834eb
commit f16ef00975
8 changed files with 98 additions and 6 deletions

View File

@ -15,13 +15,12 @@
package main
import (
"github.com/fatedier/golib/crypto"
_ "github.com/fatedier/frp/assets/frps"
_ "github.com/fatedier/frp/pkg/metrics"
"github.com/fatedier/frp/pkg/util/system"
)
func main() {
crypto.DefaultSalt = "frp"
system.EnableCompatibilityMode()
Execute()
}