Added support for MacOS WebSSH

- Added MacOS webssh feature
- Fixed bug on no proxy rule will cause tls option null exception
This commit is contained in:
Toby Chui
2025-08-31 12:35:11 +08:00
parent 7c3a1a9cfc
commit a175c258c9
5 changed files with 30 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
//go:build darwin && amd64
// +build darwin,amd64
package sshprox
import "embed"
/*
Binary embedding for AMD64 builds
Make sure when compile, gotty binary exists in static.gotty
*/
var (
//go:embed gotty/gotty_darwin_amd64
//go:embed gotty/.gotty
//go:embed gotty/LICENSE
gotty embed.FS
)

Binary file not shown.