set CompatibilityMode for android (#4091)

This commit is contained in:
fatedier
2024-03-21 17:34:09 +08:00
committed by GitHub
Unverified
parent b36f3834eb
commit f16ef00975
8 changed files with 98 additions and 6 deletions
+2
View File
@@ -17,8 +17,10 @@ package main
import (
_ "github.com/fatedier/frp/assets/frpc"
"github.com/fatedier/frp/cmd/frpc/sub"
"github.com/fatedier/frp/pkg/util/system"
)
func main() {
system.EnableCompatibilityMode()
sub.Execute()
}
+2 -3
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()
}