Bugs fixed
All checks were successful
release / build-and-upload (push) Successful in 6m38s

This commit is contained in:
404errordeveloper 2026-10-08 20:44:10 +02:00
parent 84ae0f6994
commit 1d36961a7c
16 changed files with 734 additions and 48 deletions

View file

@ -106,6 +106,13 @@ func buildCmd(args []string) {
outLocal := filepath.Join(root, "apps", "proxy", "proxy-android-arm64")
outBin := filepath.Join(root, "bin", "proxy-android-arm64")
if _, err := os.Stat(deviceDir); err != nil {
fmt.Fprintf(os.Stderr, "proxy build needs the full source tree (apps/proxy/device).\n")
fmt.Fprintf(os.Stderr, "For a release zip, put proxy-android-arm64 next to drm.exe instead — no Go build required.\n")
fmt.Fprintf(os.Stderr, "Missing: %s\n", deviceDir)
os.Exit(1)
}
fmt.Println("[*] Building linux/arm64 appproxy...")
cmd := exec.Command("go", "build", "-ldflags=-s -w", "-o", outLocal, ".")
cmd.Dir = deviceDir