Update module path and rename binaries to netbird-specific names

- Changed module path from golang.org/x/mobile to github.com/netbirdio/gomobile-tvos-fork
- Renamed gomobile → gomobile-netbird
- Renamed gobind → gobind-netbird
- Updated all internal imports
- Updated README.md with new installation and usage instructions
This commit is contained in:
Ashley Mensah
2026-01-15 11:17:24 +01:00
parent 2e4933d7bb
commit a682d4b4eb
87 changed files with 269 additions and 266 deletions
+14 -14
View File
@@ -8,39 +8,39 @@
//
// In order to build this program as an Android APK, using the gomobile tool.
//
// See http://godoc.org/golang.org/x/mobile/cmd/gomobile to install gomobile.
// See http://godoc.org/github.com/netbirdio/gomobile-tvos-fork/cmd/gomobile to install gomobile.
//
// Get the basic example and use gomobile to build or install it on your device.
//
// $ go get -d golang.org/x/mobile/example/basic
// $ gomobile build golang.org/x/mobile/example/basic # will build an APK
// $ go get -d github.com/netbirdio/gomobile-tvos-fork/example/basic
// $ gomobile build github.com/netbirdio/gomobile-tvos-fork/example/basic # will build an APK
//
// # plug your Android device to your computer or start an Android emulator.
// # if you have adb installed on your machine, use gomobile install to
// # build and deploy the APK to an Android target.
// $ gomobile install golang.org/x/mobile/example/basic
// $ gomobile install github.com/netbirdio/gomobile-tvos-fork/example/basic
//
// Switch to your device or emulator to start the Basic application from
// the launcher.
// You can also run the application on your desktop by running the command
// below. (Note: It currently doesn't work on Windows.)
//
// $ go install golang.org/x/mobile/example/basic && basic
// $ go install github.com/netbirdio/gomobile-tvos-fork/example/basic && basic
package main
import (
"encoding/binary"
"log"
"golang.org/x/mobile/app"
"golang.org/x/mobile/event/lifecycle"
"golang.org/x/mobile/event/paint"
"golang.org/x/mobile/event/size"
"golang.org/x/mobile/event/touch"
"golang.org/x/mobile/exp/app/debug"
"golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/exp/gl/glutil"
"golang.org/x/mobile/gl"
"github.com/netbirdio/gomobile-tvos-fork/app"
"github.com/netbirdio/gomobile-tvos-fork/event/lifecycle"
"github.com/netbirdio/gomobile-tvos-fork/event/paint"
"github.com/netbirdio/gomobile-tvos-fork/event/size"
"github.com/netbirdio/gomobile-tvos-fork/event/touch"
"github.com/netbirdio/gomobile-tvos-fork/exp/app/debug"
"github.com/netbirdio/gomobile-tvos-fork/exp/f32"
"github.com/netbirdio/gomobile-tvos-fork/exp/gl/glutil"
"github.com/netbirdio/gomobile-tvos-fork/gl"
)
var (