Skip to content

Commit

Permalink
fix: no frpc.so in release version
Browse files Browse the repository at this point in the history
  • Loading branch information
jing332 committed Aug 21, 2023
1 parent 4524069 commit 41c8577
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import android.content.Context
import java.io.File

class Frpc(val context: Context) :
Frp(context.applicationInfo.nativeLibraryDir + File.separator + "frpc.so") {
Frp(context.applicationInfo.nativeLibraryDir + File.separator + "libfrpc.so") {


override fun getConfigFilePath(): String =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import android.content.Context
import java.io.File

class Frps(val context: Context) :
Frp(context.applicationInfo.nativeLibraryDir + File.separator + "frps.so") {
Frp(context.applicationInfo.nativeLibraryDir + File.separator + "libfrps.so") {
override fun getConfigFilePath(): String =
"${context.getExternalFilesDir("frp")!!.absolutePath}/frps.ini"

Expand Down
2 changes: 1 addition & 1 deletion frp/install_frp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function build() {
export GOOS=android
export GOARCH="$2"

FN="$1.so"
FN="lib$1.so"
rm -f ${FN}
go build -ldflags "-s -w" -o ${FN}

Expand Down

0 comments on commit 41c8577

Please sign in to comment.