Fix release build with tun2socks
This commit is contained in:
@@ -13,7 +13,7 @@ type Status struct {
|
||||
}
|
||||
|
||||
func CheckVersion() int {
|
||||
return 20
|
||||
return 21
|
||||
}
|
||||
|
||||
func (v *Status) GetDataDir() string {
|
||||
|
||||
@@ -235,7 +235,7 @@ func (v V2RayPoint) runTun2socks() error {
|
||||
|
||||
v.escorter.EscortingUp()
|
||||
go v.escorter.EscortRun(
|
||||
v.status.GetApp("tun2socks"),
|
||||
v.status.GetApp("libtun2socks.so"),
|
||||
v.status.GetTun2socksArgs(v.EnableLocalDNS, v.ForwardIpv6), "",
|
||||
v.SupportSet.SendFd)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -27,8 +27,7 @@
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme"
|
||||
android:extractNativeLibs="true">
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
android:name=".ui.MainActivity"
|
||||
android:theme="@style/AppTheme.NoActionBar"
|
||||
|
||||
Reference in New Issue
Block a user