mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 01:04:06 +08:00
add m1
This commit is contained in:
parent
4a83e6144d
commit
f21bd1b5a1
@ -5,11 +5,11 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
|
|
||||||
"shylinux.com/x/ice"
|
"shylinux.com/x/ice"
|
||||||
"shylinux.com/x/icebergs/misc/ssh"
|
_ "shylinux.com/x/icebergs/misc/ssh"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
defer func() { recover() }()
|
defer func() { recover() }()
|
||||||
args := []string{ssh.CONNECT, "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/", path.Base(os.Args[0])+".json")}
|
args := []string{"ssh.connect", "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/", path.Base(os.Args[0])+".json")}
|
||||||
print(ice.Run(append(args, os.Args[1:]...)...))
|
print(ice.Run(append(args, os.Args[1:]...)...))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user