mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-11-06 17:04:08 +01:00
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:
18
src/mod/sshprox/embed_darwin_amd64.go
Normal file
18
src/mod/sshprox/embed_darwin_amd64.go
Normal 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
|
||||
)
|
||||
BIN
src/mod/sshprox/gotty/gotty_darwin_amd64
Executable file
BIN
src/mod/sshprox/gotty/gotty_darwin_amd64
Executable file
Binary file not shown.
Reference in New Issue
Block a user